Nice I have it on mac and linux. I have a ton of source codes in delphi. I am going to make a ton for lazaurs now. You should look me up on pscode or google type in my name "Jerome Scott II" I have over 100 sourcecodes in delphi and a lot of java c++ sourcecodes
Nah, this was just test. I know to use variables :) Just wondering, how you can give some info to that variable of type "Text"? eg. ... var x:Text; begin x:='aaaaa'; ... This don't work. I checked Lazarus help, but no answer...
mais perdido que merda em tamanco
STUDIOFTATTOO 2 years ago
Cool.
Thanks again :)
dragonny4master 3 years ago
Nice I have it on mac and linux. I have a ton of source codes in delphi. I am going to make a ton for lazaurs now. You should look me up on pscode or google type in my name "Jerome Scott II" I have over 100 sourcecodes in delphi and a lot of java c++ sourcecodes
codecaine 3 years ago
Ubuntu Hardy Heron :)
dragonny4master 3 years ago
np :). If you using lazarus on linux or mac this varible is god for reading and writing from the shell
codecaine 3 years ago
Thank you :)
dragonny4master 3 years ago
Text works as Text File. So you will use file commands on it. For example,
var
MyText : Text;
begin
Assign(MyText,'file.txt');
rewrite(MyText);
WriteLn(MyText, "this is a example");
close(MyText);
//this writes creates a text file with the text this is a example in it.
end.
codecaine 3 years ago
dragonny4master 3 years ago
Bust be a lazarus error. You shouldn't have to make that varible global to use it in pascal standards.
codecaine 3 years ago
I never used Text, but I tried and compiled without problems in my Lazarus (I set as global variable - at start of program).
var blah : Text;
Done without problems.
Maybe you are missing something.
dragonny4master 3 years ago