Syntax or Parser error

Please report bugs.

Syntax or Parser error

Postby Henning » Wed Jun 20, 2012 12:36 pm

Hi,

Dim PgmBuffer[0] As Byte
PgmBuffer is later ReDim Preserve'd to correct size.
Dim retval As Boolean
OutFileName is correct, WriteString with a String argument works.

This rises an error:
retval = WriteArray(PgmBuffer, OutFileName)

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Syntax or Parser error

Postby Slowdown » Wed Jun 20, 2012 7:19 pm

Last time i checked WriteArray wasn't supported but must be honest that's a while ago.
Kind regards,
Slowdown

OSX 10.8.x, VBox Xp, Ubuntu 32/64 bit, EOS 64 bit
Slowdown
 
Posts: 464
Joined: Sat May 01, 2010 7:11 pm
Location: Netherlands

Re: Syntax or Parser error

Postby berndnoetscher » Thu Jun 21, 2012 9:40 am

Henning wrote:Hi,

Dim PgmBuffer[0] As Byte
PgmBuffer is later ReDim Preserve'd to correct size.
Dim retval As Boolean
OutFileName is correct, WriteString with a String argument works.

This rises an error:
retval = WriteArray(PgmBuffer, OutFileName)

/Henning


WriteArray is not supported yet. :oops:
But it could be done by a own function, of course.
berndnoetscher
Site Admin
 
Posts: 344
Joined: Thu Mar 25, 2010 9:57 am

Re: Syntax or Parser error

Postby Henning » Thu Jun 21, 2012 10:10 am

WriteArray is not supported yet.


I found it in the doc's so...
No big deal, I Chr() the Byte Array to a String. Anyway, I would prefer Put, Get and the other std file I/O routines to work. :)

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Syntax or Parser error

Postby Slowdown » Thu Jun 21, 2012 3:12 pm

Solved for now, see /Examples/Data Types/Dictionary_3
But it's no substitute for Put, Get and others :shock:
Kind regards,
Slowdown

OSX 10.8.x, VBox Xp, Ubuntu 32/64 bit, EOS 64 bit
Slowdown
 
Posts: 464
Joined: Sat May 01, 2010 7:11 pm
Location: Netherlands

Re: Syntax or Parser error

Postby berndnoetscher » Tue Jun 26, 2012 8:00 am

Henning wrote:
WriteArray is not supported yet.


I found it in the doc's so...

/Henning


Sorry, the it should be marked as "not implemented yet" in the docs. The docs is expected to be correct and showing working features.
berndnoetscher
Site Admin
 
Posts: 344
Joined: Thu Mar 25, 2010 9:57 am


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron