• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Inquiry] Am i supposed too?

Status
Not open for further replies.
You're not supposed to show it with a message, and it's not pointless

This is to get users to grasp the difference between reals and integers, and what the expected output should be

If you just do the display with message, you won't get anything out of it

You can probably be sure that if you don't show your work, you'll get doc'd for it as mag will likely assume that you cheated : p
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
I willl edit a example
JASS:
*           integer x = 54
*           real r = 78
*
*               set r = r*x
*               set x = x*r
*
*                   what is x?

I mean the thing is allready set all I do is to add it into a function
JASS:
globals
real x = 54
real y = 78
endglobals

function something takes nothing returns nothing
set x = x * R
set Y *Y * R
endfunction

this is why I thought it was pointless I basicly copy pasted it but I won't question mag so...
 
Status
Not open for further replies.
Top