IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
KB
   ► KB ► > Literals Posts  Print This     

Literals Posts

"Literals" Knowledge Base Posts

More...
  KB Article    

Mike Prestwood
1. Perl Variables ($x = 0;)

Perl is a loosely typed language with only three types of variables: scalars, arrays, and hashes. Use $ for a scalar variable, @ for an array, or % for a hash (an associative array). The scalar variable type is used for anytype of simple data such as strings, integers, and numbers. In Perl, you identify and use a variable with a $ even within strings

Posted to KB Topic: Beginners Corner
13 years ago, and updated 11 years ago

Code

KB Post
Nothing New Since Your Last Visit
12255
Hits

Perl

Mike Prestwood
2. ASP Classic Comparison Operators (=, <>)

Save as VB Classic.

Posted to KB Topic: Tool Basics
13 years ago, and updated 12 years ago
(7 Comments , last by coca.m )

Code

KB Post
Nothing New Since Your Last Visit
27341
Hits

ASP Classic Coding

Mike Prestwood
3. Delphi Parameters (var, const)

Object Pascal allows parameters of the same type to be listed together, separated by commas, and followed with a single data type (more params of different data types can follow, after a semi-colon). The default for parameters is by value. For by reference, add var in front of the parameter. Object Pascal also offers constant parameters where you add const in front of the parameter. A constant parameter is like a local constant or read-only parameter the compiler can optimize. You cannot assign a value to a constant parameter, nor can you pass one as a var parameter to another routine.

Posted to KB Topic: Language Basics
13 years ago, and updated 12 years ago

Code

Article
Nothing New Since Your Last Visit  
21946
Hits

Pascal and Delphi Coding

Mike Prestwood
4. Programming Literals

A value directly written into the source code of a computer program (as opposed to an identifier like a variable or constant). Literals cannot be changed. Common types of literals include string literals, floating point literals, integer literals, and hexidemal literals. Literal strings are usually either quoted (") or use an apostrophe (') which is often referred to as a single quote. Sometimes quotes are inaccurately referred to as double quotes.

Posted to KB Topic: General Coding Concepts
12 years ago
(1 Comments , last by Suzy.W )

Definition
Nothing New Since Your Last Visit
16192
Hits

Coding & OO

Mike Prestwood
5. Round Floating Point Numbers

When comparing floating point numbers, make sure you round to an acceptable level of rounding for the type of application you are using.

Posted to KB Topic: General Coding Concepts
12 years ago
(2 Comments , last by Jerry.M )

Tip
Nothing New Since Your Last Visit
20466
Hits

Coding & OO
More...


Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]