Page 1 of 1

DCSLE syntax error

Posted: Fri Jun 04, 2010 5:19 am
by skiman
Hi Roger,

When trying to compile:
cVar := space(10)
@ 1,5 DCSLE cVar
dcread gui fit

I'm getting a syntax error. DCdialog.ch is included, and contains the DCSLE command.

Re: DCSLE syntax error

Posted: Fri Jun 04, 2010 10:13 am
by rdonnay
The below code compiles and runs fine for me.

What kind of syntax error are you getting?
Can you send me your sample program?

Code: Select all

#INCLUDE "dcdialog.CH"

FUNCTION Main()

LOCAL GetList[0], cVar

cVar := space(10)
@ 1,5 DCSLE cVar SIZE 10
dcread gui fit

RETURN nil

PROC appsys ; return

Re: DCSLE syntax error

Posted: Sat Jun 05, 2010 1:49 am
by skiman
Roger,

I created my sample and saw that I had a typo space(100)).

Sorry, it is working now.

I'm testing it for the use of Chinese characters. I can copy/paste Chinese characters in it. That's a start. :)