Racalac's Escript guide for pol098 fix

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
Gnafu
Grandmaster Poster
Posts: 136
Joined: Thu Feb 02, 2006 7:29 am

Racalac's Escript guide for pol098 fix

Post by Gnafu »

Someone must change

Code: Select all

var a := dictionary;                         // empty dictionary
var b := struct{"height", "width"};          // dictionary with indexes that have no values.
var c := struct{"height"->5, "width"->100};  // dictionary with indexes and values.
to

Code: Select all

var a := dictionary;                         // empty dictionary
var b := dictionary{"height", "width"};          // dictionary with indexes that have no values.
var c := dictionary{"height"->5, "width"->100};  // dictionary with indexes and values.
Declaring a dictionary by a struct ends in an error:

Code: Select all

Token 'Unknown Token: (307,8,'->')' unexpected in struct initializer list
Error reading members for struct

Thank you :D
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Racalac's Escript guide for pol098 fix

Post by Turley »

done
Post Reply