Re: char to text?

wh <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello,

"let text_var = char_var" works, at least with the current CVS version.

>>> 
wh@aubit-test:~/Test/Blob$ export A4GL_UI=CONSOLE
wh@aubit-test:~/Test/Blob$ cat blob.4gl
main
define a char(20), t text

locate t in file "test"
let a = "test-char"
let t = a
display t
end main

wh@aubit-test:~/Test/Blob$ 4glpc -o blob blob.4gl
wh@aubit-test:~/Test/Blob$ ./blob
test-char
wh@aubit-test:~/Test/Blob$ cat test
test-char
>>> 


bye,
Walter


Am , schrieb Michal Hajek:
> Hi, is there any way, how to assign char variable into text?
> Eg.
> define A char(20),
>          T text
> 
> locate T in file "file"
>  let A="VAR"
> call something(A) returning T
> 
> Thanks, Michal
> 
> 
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> 
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.