[Info-vax] Micro Focus to be acquired by Open Text
Arne Vajhøj
arne at vajhoej.dk
Sun Sep 4 14:54:40 EDT 2022
On 9/4/2022 1:29 PM, Single Stage to Orbit wrote:
> On Sun, 2022-09-04 at 13:07 +0200, Johnny Billquist wrote:
>>> The $ is of course used in system and library calls
>>
>> Even when you have fancy BASICs that have explicit variable
>> declarations, and ignoring system and library calls, you still have
>> all the string functions in BASIC which include $.
>>
>> LEFT$, RIGHT$, MID$, STR$, SPACE$, STRING$, NUM$... The list goes on
>> and on...
>
> Latest VB.Net still has these, sans the '$' symbols.
It seems to have with $ as well.
Module Program
Sub Main()
Dim s As String = "ABC"
Console.WriteLine(Mid(s, 2, 1))
Console.WriteLine(Mid$(s, 2, 1))
Console.WriteLine(s.Substring(1, 1))
Console.ReadKey()
End Sub
End Module
outputs:
B
B
B
here.
Arne
More information about the Info-vax
mailing list