Prestwood Code Snippet Database

Member-driven Prestwood Code Snippet Database. Your participation is requested!
Browse by category...
Each list is compiled from the cooresponding community group.
New CodeSnippets:
| |
KB Article |
Group >>
KB Topic
|
 168 Hits
|
1. PHP Constants (define)
7/15/2010
|
PHP & Delphi for PHP >>
PHP
|
 122 Hits
|
2. Perl Constants (use constant)
7/15/2010
|
Perl >>
Perl
|
 116 Hits
|
3. ASP Classic Yes/No Function
The following function demonstrates one technique for coding a Yes/No dropdown. It uses a for loo...
6/15/2010
|
ASP Classic >>
ASP Classic
|
 387 Hits
|
4. Consuming an RSS feed in ASP.NET
Using this quickie code snippet, you can attach an ASP:Gridview to an external RSS Feed.
All you need to accomplish this is the URL of a usable feed.
5/1/2010
|
C# (Visual C# & VS.Net) >>
WebForms Coding Tasks
|
891 Hits
|
5. Delphi Array (x=Array[0..3] of string;)
Delphi supports both static and dynamic arrays.
(1 Comments
, last by rdkram )
3/30/2010
|
Delphi for Win32 >>
Delphi for Win32
|
584 Hits
|
6. ObjectPAL Array (Array[] type)
Languages Focus: ArrayA data structure in which individual values (called elements or it...
3/29/2010
|
Corel Paradox >>
Paradox & ObjectPAL
|
460 Hits
|
7. VB Classic Array (x = Array())
Arrays in VB Classic use a 0-based indice. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc.
3/20/2010
|
Visual Basic Classic >>
VB Classic
|
492 Hits
|
8. ASP Classic Array (x = Array())
Arrays in ASP Classic use a 0-based indice.
Use UBound to get the number of elements. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc.
3/20/2010
|
ASP Classic >>
ASP Classic
|
458 Hits
|
9. Access VBA Array (x = Array())
Arrays in Access VBA use a 0-based indice. UBound returns -1 if the array has no elements, 0 if it has 1, 1 if it has 2, etc.
3/20/2010
|
Microsoft Access >>
Access & VBA
|
 441 Hits
|
10. ASP Classic Edit Record (AddNew, Update, Delete)
Languages Focus: Edit Record
This common syntax name documents editing a record as a wh...
6/24/2010
|
ASP Classic >>
ASP Classic
|
Updated CodeSnippets:
| |
KB Article |
Group >>
KB Topic
|
1002 Hits
|
1. ASP Classic Empty String Check (Len(s&vbNullString))
Languages Focus: Empty String CheckAn empty string is a zero length string, a string tha...
(1 Comments
)
9/17/2009, Updated: 7/21/2010
|
ASP Classic >>
ASP Classic
|
 938 Hits
|
2. Perl Variables ($x = 0;)
Languages Focus: Variables
A variable holds a value that you can use and chan...
11/13/2008, Updated: 7/15/2010
|
Perl >>
Beginners Corner
|
 674 Hits
|
3. Delphi Prism Member Property (property..read..write)
Delphi Prism Member PropertyLike Delphi, Delphi Prism uses a special property
12/20/2008, Updated: 7/9/2010
|
Delphi Prism >>
OOP
|
 441 Hits
|
4. ASP Classic Edit Record (AddNew, Update, Delete)
Languages Focus: Edit Record
This common syntax name documents editing a record as a wh...
6/24/2010
|
ASP Classic >>
ASP Classic
|
 2448 Hits
|
5. Delphi Overriding (virtual, override)
3/7/2009, Updated: 3/30/2010
|
Delphi for Win32 >>
OOP
|
1041 Hits
|
6. ObjectPAL Variables (var x SmallInt endVar)
Languages Focus: VariablesA variable holds a value that you can use and change...
(1 Comments
, last by marianchovan )
11/7/2008, Updated: 3/29/2010
|
Corel Paradox >>
OPAL: Language Basics
|
2335 Hits
|
7. Delphi Class Helpers (class helper for)
2/7/2009, Updated: 3/12/2010
|
Delphi for Win32 >>
OOP
|
 1564 Hits
|
8. Delphi Member Property (property..read..write)
Delphi Member PropertyDelphi uses a special property keyword to both get...
(2 Comments
, last by mprestwood )
12/20/2008, Updated: 2/12/2010
|
Delphi for Win32 >>
OOP
|
 477 Hits
|
9. ObjectPAL Empty String Check (isBlank() or not isAssigned())
Languages Focus: Empty String Check
An empty string is a zero length string, a string t...
9/18/2009, Updated: 2/12/2010
|
Corel Paradox >>
OPAL: Language Basics
|
989 Hits
|
10. VB.Net Constants (Const kPI Double = 3.1459)
12/16/2008, Updated: 10/24/2009
|
VB.Net Language >>
Tool Basics
|
|
|