Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Lupo4u2

#1
Hey there,

i was just wondering if the following is a known bug or not with the editor/compiler (or a feature?!? :P), cause i didn't find anything related so far in the bug tracker or forum:
 
Code: ags
  
    //---------------------
    // AGS version: v3.2.1
    //---------------------
    float a = 3.0;
    a *= -1.0;    // NOK: parse error at 'a'
    a = a * -1.0; // NOK: invalid use of operator '*'
    a = -1.0 * a;   // OK


took me quite some time to figure out what was blocking my script to compile... :(
SMF spam blocked by CleanTalk