Racalac's Escript guide for pol098 fix
Posted: Thu Aug 20, 2009 1:22 am
Someone must change
to
Declaring a dictionary by a struct ends in an error:
Thank you
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.
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.
Code: Select all
Token 'Unknown Token: (307,8,'->')' unexpected in struct initializer list
Error reading members for struct
Thank you