Re: Parameter isn't passing?
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: "Jeff Johnson [MVP: VB]" <i.get@xxxxxxxxxxx>
- Date: Mon, 25 Apr 2005 17:31:53 -0400
<PaulB> wrote in message
news:7odq6119f6gud5id8796o9cciph63l2bpg@xxxxxxxxxx
> DIM nLen as Integer
> nLen = LEN( jString ) <----- Fails here
For future reference, strings can be 2GB in size. You should really define
the variable to hold the result of Len() as a Long. In fact, you should get
out of the habit of using Integer altogether except in situations where
Integer truly makes sense. In a 32-bit environment, the Long is the natural
data type.
.
Relevant Pages
- Re: User Input issue
... now we know that the int data type uses 4 bytes of memory. ... You wrote a moment ago that the programmer does not ... covered strings yet (I'm a college freshman in a Programming I/Novice ... (comp.lang.c) - Re: some interesting perspectives on .NET from the other camp ...
... > strings or integers helps our customers. ... It depends on what the *language* defines as a string or character. ... all versions of MS Basic, back to CP/M and TRSDOS, the $tring data type was ... I'd characterize the change from windows to .NET ... (borland.public.delphi.non-technical) - Re: Quick Summary of WG5/J3 London meeting
... The schedule for publishing the standard has been stretched ... sophisticated bit data type support. ... particularly interested in support for the ability to define a structure consisting of a mixture of defined and intrinsic data types with single or multi-bit bit strings and arrays of single or multi-bit bit strings and ability to define strings of longer than and not necessarily an even multiple of the sizes of native types ... (comp.lang.fortran) - Re: Between dates
... FromDOS and ToDOS are Date data type ... What type of strings? ... Some formats ... What Excel does with type conversion is magic and not ... (microsoft.public.access.modulesdaovba) - Re: URGENT: Problem in reading excel file in ASP :( - TRAILING SPACE problem
... Your column of data contains some entries that are strings ... based on the data type of the majority of those records. ... > "Sheet1" of the excel file. ... The cells which returned NULL values in my ... (microsoft.public.excel.programming) |
|