Specifications

EssentialsofCrestronProgramming
87
Symbolcompletenessandcommentingout
Intheaboveexample,thedigitalinputtothemoduleismarkedwiththespecialsignal
name“//”.Thissectionwilldiscusstheconceptofsymbolcompletenessand
commentingoutsignals.
InSIMPLWindows,allsymboldefinitionsmustbeʺcompleteʺfortheprogramto
compile.Asy
mbolthatisincompletewillhave*!*markerinfrontofit.The*!*marker
willalsoappearinthesubsystemwherethesymbolislocatedinProgram View, aswell
asthetoplevelLogicfolder.
Theconceptofcompletenessdiffersdependingonthesymboltype:
Mostdevicesymbols,suchastouchpanels,useʺr
andomcompletenessʺ,i.e.,youcan
connectanysignalorleaveanysignalblankandthesymbolwillstillbeconsidered
complete.
Mostlogicsymbolsandmodulesuseʺlistcompletenessʺ,whereeverysignalisa
requiredfield.Thatis,youmustfillineveryinp
utinorder,everyoutputinorder,and
everyparameterinorder.Theonlyexceptiontothisisifagivensignalissurroundedby
brackets[].Thissignifiesthatthesignalisoptionalandnotrequiredforprogramming.