Re: Ver 4.0 parsing error
- Posted by euphoric (admin) Sep 05, 2008
- 783 views
bernie said...
-- file name j.exw contains: -- Using WIN98 using SVN 1121 -- This code complies with the docs. include std/map.e map ages = new() ages = put(ages, "Andy", 12) if getc(0) then end if -- end file j.exw -- Displays this error: C:\WMOTOR\INCLUDE\J.EXW:6 Syntax error - expected to see an expression, not a procedure ages = put(ages, "Andy", 12) ^
from what i understand, derek said that put() is no longer a function. maybe the docs are a little behind. you just do
put(ages,"Andy",12)