#146013 - 2005-08-20 01:45 PM
new macro @TAB
|
iffy
Starting to like KiXtart
Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
|
Very minor but still... we've got @CRLF, can't we have @TAB too
Edited by iffy (2005-08-20 01:45 PM)
|
Top
|
|
|
|
#146015 - 2005-08-20 04:20 PM
Re: new macro @TAB
|
Chris S.
MM club member
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Here's a quick little UDF for you...
Code:
Function TAB $TAB=CHR(9) EndFunction
|
Top
|
|
|
|
#146016 - 2005-08-20 05:40 PM
Re: new macro @TAB
|
iffy
Starting to like KiXtart
Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
|
Haha, I know my ASCII chart very well, I dare say better then most here, probably comes from way to much assembly coding in the late 80's but since then I got lazy . But if @crlf is in I don't see the problem with building in this super mini thingy of @tab. On the other hand, quite a few macros can be "killed" since they are present as an environment variable or can be UDF'd in 1 or 2 lines of code. But, the 'vote' counts I guess...
|
Top
|
|
|
|
#146024 - 2005-08-23 03:02 AM
Re: new macro @TAB
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Quote:
I simply put a tab character in the string by pressing the tab button
roflmao ... good one ! Beat that Lonk.
|
Top
|
|
|
|
#146025 - 2005-08-23 08:18 AM
Re: new macro @TAB
|
iffy
Starting to like KiXtart
Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
|
I might need some time to come up with a witty reply on that one.
|
Top
|
|
|
|
#146027 - 2005-08-23 09:24 AM
Re: new macro @TAB
|
It_took_my_meds
Hey THIS is FUN
Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
|
No no with all due respect that is just plain wrong You've just chosen to write it a long way
$stringwithoutTAB="text" $stringwithTAB="text "
len($stringwithTAB)-len($stringwithTAB) = 1
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 84 anonymous users online.
|
|
|