The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 What is CRLF please?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

EigenGoofy

64 Posts

Posted - 05/27/2011 :  11:48:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Some code like:

fname.GetNumTokens(CRLF)


http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:LabTalk_Keywords

After reading the info from the link above, I still don't know what CRLF is? For what purpose?

couturier

France
291 Posts

Posted - 05/27/2011 :  6:53:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Stands for Carriage Return Line Feed (as far as I remember).
It allows to start a new line, just like if you hit the enter key
Go to Top of Page

EigenGoofy

64 Posts

Posted - 05/30/2011 :  12:25:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by couturier

Stands for Carriage Return Line Feed (as far as I remember).
It allows to start a new line, just like if you hit the enter key



That "Carriage Return Line Feed", as the link shows, just baffles me.

However, "it allows to start a new line, just like the enter key" really makes thing much clearer.

Now I understand "GetNumTokens(CRLF)" is to use "enter key or starting a new line" as a chDelimiter so that "fname.GetNumTokens(CRLF)" can find the number of files.

Thank you so much, couturier!

I see that http://wiki.originlab.com is more or less incapable of providing useful information to rookies.
Go to Top of Page

minimax

357 Posts

Posted - 05/30/2011 :  01:03:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The term "CRLF" is not an Origin specific word, so Origin wiki may not provide detailed explanation.

See more details on:
http://en.wikipedia.org/wiki/Newline
Go to Top of Page

EigenGoofy

64 Posts

Posted - 05/30/2011 :  02:56:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimax

The term "CRLF" is not an Origin specific word, so Origin wiki may not provide detailed explanation.

See more details on:
http://en.wikipedia.org/wiki/Newline



In my mind, barely could this be an excuse for insufficient explanation to layman of programming. At least, it should mention that it is not Origin specific word, or even just saying that CRLF is enter key to start new line is still much more instructive than saying some professional terminologies.
Go to Top of Page

EigenGoofy

64 Posts

Posted - 05/30/2011 :  02:58:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimax

The term "CRLF" is not an Origin specific word, so Origin wiki may not provide detailed explanation.

See more details on:
http://en.wikipedia.org/wiki/Newline



Thanks to provide the link by the way, minimax!
Go to Top of Page

minimax

357 Posts

Posted - 05/30/2011 :  03:21:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

or even just saying that CRLF is enter key to start new line is still much more instructive than saying some professional terminologies.



Sure, the original LabTalk Keywords link is updated.

PS: Personally, I think it is not intended to say "professional" term.

For an abbreviation, people usually want to know what each letter stands for.
(CRLF: C for Carriage, R for Return, L for Line, F for Feed)
Go to Top of Page

CarlaAngelM

1 Posts

Posted - 05/31/2011 :  11:07:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for sharing guys!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000