Importing a string longer than 255 chars
Aldevinas Katkus
9-27-21
Operating system: macOS
Is there ss there a way to import a long string (~400 chars) from a TAB separated text file?
This long string is a column in the text file.

BTW: It would be very nice to have ASCIIZ strings in hal, not limited to 255 chars.
Paul Timms
9-30-21
I believe this is difficult, if not impossible. The problem, as you've probably found, is that all the C functions you need (GetTabTextFromArea etc.) only support 255 characters.
Aldevinas Katkus
10-15-21
Actually it seems I can import one column having more than 255 chars like this.

global
procedure ImportTestIn(record RcVc RepSpec)
begin
string 255 tstr;
record NotepadVc Noter;

tstr=ImportField;
tstr=ImportField;
if(ImportIntoText(Noter)) then begin end;
tstr=ImportField;
while (NextImportLine(false)) begin

end;
StopAlert("tstr=" & tstr);
OpenWindow("NotepadDClass",1,0,"","",Noter);
end;
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024