ECMAScript Parser

Forum to discuss the new web client version of Servoy.

ECMAScript Parser

Postby rieder » Fri Sep 20, 2024 11:40 am

Hi

How can I use
Code: Select all
for(let record of foundset) {
// use directly the record
}

for iterables? I always get the error «unexpected 'rec'».

Thanks and regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 198
Joined: Thu Jan 26, 2012 5:18 pm

Re: ECMAScript Parser

Postby jcompagner » Fri Sep 20, 2024 4:32 pm

you need to enable the ecma script parser see the Preferences->javascript section
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8861
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: ECMAScript Parser

Postby rieder » Fri Sep 20, 2024 5:44 pm

Thank you! Looking forward.
Regards
Birgit
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 198
Joined: Thu Jan 26, 2012 5:18 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 4 guests