#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 905
Default chr$

"JLatham" wrote:
In the Beginning there was BASIC and in BASIC there was CHR$(),
but there was no CHR(). Likewise there was DIR$() and it was without
DIR().


"In the beginning", BASIC had no type declarations. Instead, the type was
implied by naming conventions. Original BASIC had only string and numeric
variables. Some versions of BASIC evolved additional naming conventions,
such as suffixes to distinguish integer and floating-point variables. All
of this predates Microsoft and MS BASIC by about two decades, and it
predates the ANSI BASIC standard by more than a decade.

So what? That is really a very different language than MS Visual BASIC and
VBA.


----- original message -----

"JLatham" wrote in message
...
And to add yet more confusion to the whole thing:
In the Beginning there was BASIC and in BASIC there was CHR$(), but there
was no CHR(). Likewise there was DIR$() and it was without DIR(). And
there
are similar examples of the original BASIC language that had the $ as a
required part of the function name that have operators now that have
dropped
the $ and yet act in exactly the same manner, and are generally
interchangeable.

"kylefoley2000" wrote:

what does chr$ mean in this code

Sub rick()
Dim strabc(1 To 26) As String
Dim i As Integer
Dim strprompt As String
For i = 1 To 26
strabc(i) = Chr$(i + 64)
Next i
strprompt = "hey:" & vbCrLf
For i = 1 To 26
strprompt = strprompt & strabc(i)
Next i
MsgBox strprompt


End Sub


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"