Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

FEATURE: enums, enums and enums. (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Anything special for plugins in console apps?
Next thread: error in windows compile


macosx and unix paths   -   GOLD
  FEATURE: enums, enums and enums.   -   Ruslan Zasukhin

FEATURE: enums, enums and enums.
Date: 14.06.04 18:33 (Mon, 14 Jun 2004 20:33:07 +0300)
From: Ruslan Zasukhin

I do function now:

CreateBinaryLink(
inName as String,
inLeftTable as VTable, inLeftPower as Integer,
inRightTable as VTable, inRightPower as Integer,
inStorageType as integer,
inTemporary as Boolean ) As VLink"

Parameters inLeftPower, inRightPower and inStorageType
now as as integer.

This is not good of ocurse.

The Dream is

CreateBinaryLink(
inName as String,
inLeftTable as VTable, inLeftPower as EPower,
inRightTable as VTable, inRightPower as EPower,
inStorageType as EStorage,
inTemporary as Boolean ) As VLink"

ENUMS -> constants -> compile time checks.