Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== $INSERT statement ====== ==== Description ==== Directs the compiler to insert BASIC+ source code from another table or row into the current source code. The default location for storage of source code is the SYSPROCS table. ==== Syntax ==== $INSERT[//table//, ] //record// ==== Parameters ==== The $INSERT statement has the following parameters. ^Parameter^Description^ |//table//|Name of table that contains record, below. If not specified, the table defaults to SYSPROCS.| |//record//|//record// is the key of the record whose source code is to be inserted into the program that is currently being compiled. You cannot enclose //record// in quotes.| \\ \\ \\ You must provide a $INSERT statement for each row of code you are inserting.\\ \\ \\ \\ The $INSERT statement is useful for inserting code that is common to more than one program. It is often used with [[common|Common statements]] to define code shared among one or more routines. The [[common|Common statements]] are placed in a separate record, and each subroutine that needs to share this particular code includes this record.| \\ guides/programming/programmers_reference_manual/dollar_insert.txt Last modified: 2024/06/19 20:20by 127.0.0.1