Re: char to text?
wh <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
Hm, perhaps you are using a older version of the compiler? I applied a patch on lib/libaubit/conv.c some weeks ago that added char-to-text conversion. Walter Am , schrieb Michal Hajek: > Chm. > $cat test_blob.4gl > define A char(20), > T text > > main > let A="POKUS" > locate T in file "file_text" > let T=A > display T > end main > $au test_blob.4ae > > $cat file_text > cat: Cannot open file_text: No such file or directory > > Bad luck :-( > > Michal > > On Mon, Dec 9, 2013 at 11:46 AM, wh <[email protected]> wrote: > >> 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 >> [1] >>> >>> _______________________________________________ >>> Aubit4gl-discuss mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss [2] >> >> > ------------------------------------------------------------------------------ >> 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 >> [1] >> _______________________________________________ >> Aubit4gl-discuss mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss [2] > > > > Links: > ------ > [1] > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > [2] 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