Aktuelle Zeit: 23.02.2019 14:26

Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]




Ein neues Thema erstellen Auf das Thema antworten  [ 2 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: ConstantName() - Mögliche Konstantennamen zu einem Wert
BeitragVerfasst: 03.01.2019 14:55 
Offline
Kommando SG1
Benutzeravatar

Registriert: 01.11.2005 13:34
Wohnort: Glienicke
Hallo Leute,

mal etwas kleines von mir, weil ich es gerade wieder mal gebraucht hatte ^^.
ConstantName(Value.q, SearchString.s="") vergleicht die übergebene Zahl mit allen PB-Constanten und gibt eine Liste von passenden Namen zurück. Die Liste kann mit dem SuchString eingeschränkt werden:

PS: Der Code sieht im Editor weniger schlimm aus^^

Weiter unten ist auch ein Beispiel >>>

Code:
Procedure.s ConstantName(Value.q, SearchString.s="")
   
   Protected NameList.s
   Protected Name.s, Index.i
   
   Restore StringData
   Repeat
      Read.s Name
      If Name = "" : Break : EndIf
      If Value = PeekQ(?ValueData+Index*SizeOf(Quad))
         If SearchString = "" Or FindString(Name, SearchString, 1, #PB_String_NoCase)
            If NameList : NameList + ", " : EndIf
            NameList + Name
         EndIf
      EndIf
      Index + 1
   ForEver
   
   If NameList
      ProcedureReturn NameList
   Else
      ProcedureReturn "Not found!"
   EndIf
   
   DataSection
      StringData:
      Data.s "PB_FTP_WriteUser", "PB_PrinterRange_Custom", "PB_Entity_MinVelocity", "PB_OS_Windows_XP", "PB_UTF16BE", "PB_CheckBox_ThreeState", "PB_Keyboard_Qwerty", "PB_CheckBox_Center", "PB_Http_Aborted", "PB_Entity_LinearVelocityX", "PB_Vehicle_MaxSuspensionLength", "PB_Entity_LinearVelocityY", "PB_World_WaterGodRays", "PB_Variable", "PB_EventType_KeyDown", "PB_Entity_LinearVelocityZ", "PB_MouseButton_Middle", "PB_NodeAnimation_Once", "PB_PackerPlugin_Tar", "PB_TrackBar_Ticks", "PB_Shortcut_Help", "PB_EventType_MouseWheel", "PB_Window_Maximize", "PB_Explorer_File", "PB_Drag_Move", "PB_Key_Down", "PB_Spin_Maximum", "PB_Explorer_NoFolders", "PB_ToolBarIcon_Print", "PB_ListIcon_ColumnWidth", "PB_EntityAnimation_Started", "PB_SerialPort_RxOver", "PB_SerialPort_EOFSent", "PB_XML_InvalidToken", "PB_EventType3D_Change", "PB_Material_Color", "PB_Explorer_BorderLess", "PB_GadgetType_Text", "PB_Font_StrikeOut", "PB_ScrollBar_PageLength", "PB_Map_ElementCheck", "PB_Material_CurvedMap", "PB_ToolBarIcon_Replace", "PB_Compiler_Processor", "PB_Sprite_BlendSourceAlpha", "PB_XML_ReFormat", "PB_Image_Smooth", "PB_MessageRequester_Warning", "PB_Entity_CapsuleBody", "PB_Sound_Loop", "PB_XML_UnboundPrefix", "PB_XML_NotStandalone", "PB_Sprite_BlendSourceColor", "PB_Material_Phong", "PB_Sound_MultiChannel", "PB_Material_Replace", "PB_Material_Fixed", "PB_Material_BorderTAM", "PB_Mesh_PointList", "PB_GadgetType_Calendar", "PB_MessageRequester_YesNo", "PB_OS_Linux_2_2", "PB_Cipher_SHA1", "PB_Sprite_BlendZero", "PB_Window_MinimizeGadget", "PB_Cipher_SHA2", "PB_Web_Forward", "PB_OS_Linux_2_4", "PB_Cipher_SHA3", "PB_XML_ReservedNamespaceURI", "PB_Event_MaximizeWindow", "PB_ListIcon_Report", "PB_Event_FileReceived", "PB_Key_Right", "PB_OS_Linux_2_6", "PB_Shortcut_LeftWindows", "PB_OpenGL_64BitAccumulationBuffer", "PB_Event_Menu", "PB_Event_WindowDrop", "PB_XML_UnclosedCDataSection", "PB_Spin_ReadOnly", "PB_Material_TextureVScroll", "PB_Panel_TabHeight", "PB_Material_Lighting", "PB_Unit_Inch", "PB_Key_Grave", "PB_XML_Instruction", "PB_Drag_Leave", "PB_EventType_MiddleButtonUp", "PB_OnError_IllegalInstruction", "PB_InputRequester_Password", "PB_XML_NotSuspended", "PB_Explorer_ColumnWidth", "PB_Image_FloydSteinberg", "PB_Any", "PB_OS_Windows_8_1", "PB_Entity_MassCenterX", "PB_Date_Year", "PB_Entity_MassCenterY", "PB_Entity_MassCenterZ", "PB_Web_Refresh", "PB_Compiler_Console", "PB_Container_Flat", "PB_TrackBar_Minimum", "PB_OS_Windows_95", "PB_ImagePlugin_JPEG", "PB_XML_WindowsNewline", "PB_XML_Suspended", "PB_Compiler_Line", "PB_OS_Windows_98", "PB_GadgetType_ExplorerList", "PB_Gadget_LineColor", "PB_MDI_TileVertically", "PB_Shortcut_Menu", "PB_Mail_Custom", "PB_Event3D_Gadget", "PB_GadgetType3D_Button", "PB_PrinterQuality_High", "PB_NodeAnimation_Linear", "PB_Compiler_DLL", "PB_Cursor_LeftDownRightUp", "PB_Joint_EnableSpring", "PB_Program_Open", "PB_Mesh_Static", "PB_CGI_Text", "PB_PrinterQuality_Normal", "PB_Shortcut_Add", "PB_TrackBar_Maximum", "PB_XML_NoMemory", "PB_Material_PlanarMap", "PB_Unit_Pixel", "PB_Drag_Link", "PB_XML_ReduceNewline", "PB_XML_CutSpace", "PB_Path_Relative", "PB_GadgetType_ProgressBar", "PB_Drag_Enter", "PB_ByteLength", "PB_OnError_DivideByZero", "PB_System_FreeVirtual", "PB_Compiler_Executable", "PB_Material_Wireframe", "PB_XML_AttributeExternalEntityRef", "PB_Event_RightClick", "PB_MDI_BorderLess", "PB_Text3D_Top", "PB_EventType_PopupWindow", "PB_Material_Point", "PB_Button_Left", "PB_EventType_FirstCustomValue", "PB_VectorParagraph_Left", "PB_World_WaterLowQuality", "PB_Shadow_None", "PB_Explorer_NoLines", "PB_SerialPort_NoParity", "PB_ListIcon_FullRowSelect", "PB_Mail_Connected", "PB_Key_RightControl", "PB_Entity_AngularDamping", "PB_Event_LeftClick", "PB_Window_SizeGadget", "PB_Container_BorderLess", "PB_RegularExpression_Extended", "PB_Panel3D_ItemHeight", "PB_SerialPort_WaitingCTS", "PB_2DDrawing_AlphaBlend", "PB_Canvas_LeftButton", "PB_SerialPort_XoffCharacter", "PB_VectorParagraph_Center", "PB_Camera_Textured", "PB_ImagePlugin_ICON", "PB_Path_DiagonalCorner", "PB_XML_TextDeclaration", "PB_Drop_Image", "PB_ListIcon_List", "PB_Http_Success", "PB_LensFlare_BurstColor", "PB_String_Lower", "PB_DirectoryEntry_Directory", "PB_NetworkEvent_Disconnect", "PB_FTP_Directory", "PB_Texture_AutomaticUpdate", "PB_FontRequester_Effects", "PB_Sound_Millisecond", "PB_Screen_WaitSynchronization", "PB_ListIcon_AlwaysShowSelection", "PB_Shortcut_Divide", "PB_OS_Linux", "PB_OpenGL_Alt", "PB_Program_Ascii", "PB_Sprite_BlendInvertDestinationAlpha", "PB_VectorParagraph_Block", "PB_Key_Home", "PB_BillboardGroup", "PB_EventType3D_LostFocus", "PB_CheckBox_Right", "PB_ScrollArea_Center", "PB_Shortcut_Escape", "PB_Sprite_BlendInvertDestinationColor", "PB_OS_Windows_Server_2003", "PB_EventType_LeftButtonDown", "PB_Event_MoveWindow", "PB_Container_Single", "PB_Database_Blob", "PB_Explorer_FullRowSelect", "PB_Key_Back", "PB_EventType_DragStart", "PB_OS_Windows_Server_2008", "PB_Joint_NoLimit", "PB_EventType_StatusChange", "PB_XML_MacNewline", "PB_Light_Point", "PB_MDI_Cascade", "PB_Cursor_IBeam", "PB_XML_Normal", "PB_ToolBarIcon_Undo", "PB_Map_NoElementCheck", "PB_Event_DataReceived", "PB_NodeAnimation_Unknown", "PB_ScrollArea_Single", "PB_GadgetType_Option", "PB_Sprite_BlendOne", "PB_Billboard_Point", "PB_Particle_Point", "PB_Date_Created", "PB_Database_Float", "PB_Printer_Copies", "PB_MessageRequester_YesNoCancel", "PB_Frame_Single", "PB_ListIcon_Inbetween", "PB_Key_Tab", "PB_GadgetType_ComboBox", "PB_Image_Raised", "PB_CGI_LastHeader", "PB_String_NoZero", "PB_XML_EntityDeclaredInPE", "PB_OS_AmigaOS", "PB_Button_MultiLine", "PB_Explorer_AlwaysShowSelection", "PB_Web_PageTitle", "PB_Entity_LinearVelocity", "PB_EventType_Input", "PB_Compiler_ExecutableFormat", "PB_FTP_ExecuteGroup", "PB_GadgetType3D_ScrollArea", "PB_XML_CData", "PB_XML_ParamEntityRef", "PB_Relative", "PB_PrinterRange_Selection", "PB_Entity_NbSubEntities", "PB_Window3D_SizeGadget", "PB_XML_DTD", "PB_Event_MinimizeWindow", "PB_EventType_MiddleButtonDown", "PB_Packer_Directory", "PB_Explorer_HeaderDragDrop", "PB_String_ReadOnly", "PB_2DDrawing_AlphaChannel", "PB_ToolBar_Toggle", "PB_3DArchive_FileSystem", "PB_Material_Anisotropic", "PB_HyperLink_Underline", "PB_Label", "PB_Window_BorderLess", "PB_Shortcut_Up", "PB_GadgetType3D_Editor", "PB_Cipher_NoPadding", "PB_GadgetType_Scintilla", "PB_GadgetType3D_ProgressBar", "PB_Mesh_TriangleStrip", "PB_Image3D_Border", "PB_XML_StreamStart", "PB_Event_GadgetDrop", "PB_JSON_Array", "PB_Canvas_Alt", "PB_OpenGL_NoFlipSynchronization", "PB_Shortcut_End", "PB_Material_DepthCheck", "PB_OS_Windows_Server_2012", "PB_Cursor_Invisible", "PB_Key_All", "PB_Window_NoActivate", "PB_ListView3D_Multiselect", "PB_Shortcut_F1", "PB_GadgetType_Panel", "PB_EventType_RightButtonDown", "PB_Shortcut_F2", "PB_Round_Up", "PB_Shortcut_F3", "PB_Canvas_DrawFocus", "PB_Shortcut_F4", "PB_XML_StandaloneNo", "PB_Material_Shininess", "PB_Text3D_Left", "PB_FileSystem_Archive", "PB_Shortcut_F5", "PB_Processor_x64", "PB_Shortcut_F6", "PB_Shortcut_F7", "PB_Shortcut_F8", "PB_Web_Back", "PB_Shortcut_F9", "PB_Event3D_MoveWindow", "PB_CGI_File", "PB_Network_IPv4", "PB_Key_Minus", "PB_LinkedList", "PB_Entity_WorldBoundingBox", "PB_Network_IPv6", "PB_Material_TextureUScale", "PB_HTTP_NoRedirect", "PB_OnError_Floatingpoint", "PB_PixelFormat_ReversedY", "PB_Font_Bold", "PB_Long", "PB_EventType_LeftClick", "PB_GadgetType_Tree", "PB_Shortcut_Pause", "PB_ImagePlugin_PNG", "PB_Material_WrapTAM", "PB_Mail_Finished", "PB_Engine3D_Minimum", "PB_PackerPlugin_BriefLZ", "PB_GadgetType3D_Unknown", "PB_File_Append", "PB_JSON_Null", "PB_Gadget_ContainerCoordinate", "PB_Web_ScrollX", "PB_String_Equal", "PB_Sound3D", "PB_Web_ScrollY", "PB_Image_InternalDepth", "PB_Cursor_Busy", "PB_ListView_ClickSelect", "PB_OpenGL_MouseX", "PB_Entity_HasContactResponse", "PB_OpenGL_MouseY", "PB_EventType_LeftDoubleClick", "PB_World_UnderWater", "PB_PixelFormat_16Bits", "PB_Calendar_Minimum", "PB_Splitter_Separator", "PB_GadgetType_OpenGL", "PB_OpenGL_LeftButton", "PB_Image_Border", "PB_Shortcut_PageDown", "PB_ToolBar_Text", "PB_GadgetType3D_ListView", "PB_Event_Gadget", "PB_ListIcon_GridLines", "PB_FTP_ReadGroup", "PB_Material_Gouraud", "PB_Engine3D_Maximum", "PB_MDI_Image", "PB_Event_SizeWindow", "PB_Material_NoCulling", "PB_ConeTwistJoint_TwistSpan", "PB_Shortcut_Insert", "PB_Event3D_CloseWindow", "PB_OpenGL_NoAccumulationBuffer", "PB_Font_Underline", "PB_Window_Normal", "PB_XML_UndeclaringPrefix", "PB_EventType_LeftButtonUp", "PB_Calendar_Maximum", "PB_OS_Windows_Server_2012_R2", "PB_Engine3D_CurrentFPS", "PB_EventType_TitleChange", "PB_PointJoint_Tau", "PB_Drop_Text", "PB_Shortcut_Snapshot", "PB_String3D_ReadOnly", "PB_Event_Timer", "PB_PrinterQuality_Draft", "PB_Key_LeftBracket", "PB_RegularExpression_MultiLine", "PB_Window3D_Borderless", "PB_Material_Add", "PB_NodeAnimation_Started", "PB_Shortcut_F10", "PB_GadgetType_ScrollBar", "PB_GadgetType_Date", "PB_Printer_Selection", "PB_Shortcut_F11", "PB_JSON_String", "PB_Shortcut_F12", "PB_Window3D_Invisible", "PB_World_TerrainPick", "PB_Shortcut_F13", "PB_String3D_Numeric", "PB_Shortcut_F14", "PB_Double", "PB_EventType_MouseMove", "PB_Shortcut_F15", "PB_Ignore", "PB_XML_UnclosedToken", "PB_Shortcut_F16", "PB_Shortcut_F17", "PB_String_InPlace", "PB_Shortcut_F18", "PB_Shortcut_F19", "PB_Engine3D_NoLog", "PB_Key_Decimal", "PB_OS_Windows_NT_4", "PB_Explorer_GridLines", "PB_Editor_ReadOnly", "PB_Engine3D_MaximumFPS", "PB_2DDrawing_CustomFilter", "PB_Explorer_NoDirectoryChange", "PB_PrinterRange_Current", "PB_List", "PB_ToolBarIcon_Properties", "PB_Window_Invisible", "PB_FTP_WriteAll", "PB_String_Numeric", "PB_XML_NoElements", "PB_Gadget_GrayTextColor", "PB_Material_Animated", "PB_GadgetType_CheckBox", "PB_Tree_Selected", "PB_ImagePlugin_TGA", "PB_Canvas_Cursor", "PB_Entity", "PB_Material_NoMap", "PB_Shortcut_Right", "PB_Billboard_SelfPerpendicular", "PB_String_UpperCase", "PB_EventType_PopupMenu", "PB_ProgressBar_Smooth", "PB_Shortcut_Scroll", "PB_File_IgnoreEOL", "PB_OpenGL_24BitDepthBuffer", "PB_Mail_Cc", "PB_XML_SuspendedPE", "PB_Coordinate_Output", "PB_Key_Capital", "PB_OS_MacOSX_10_0", "PB_ComboBox_LowerCase", "PB_OS_MacOSX_10_1", "PB_Billboard_SelfOriented", "PB_Engine3D_Average", "PB_OS_MacOSX_10_2", "PB_Key_PageDown", "PB_OS_MacOSX_10_3", "PB_Checkbox_Unchecked", "PB_OS_MacOSX_10_4", "PB_OS_MacOSX_10_5", "PB_Canvas_Image", "PB_Date_UpDown", "PB_OS_Windows_ME", "PB_OS_MacOSX_10_6", "PB_OS_MacOSX_10_7", "PB_OS_MacOSX_10_8", "PB_OS_MacOSX_10_9", "PB_PixelFormat_24Bits_RGB", "PB_PixelFormat_24Bits_BGR", "PB_XML_FeatureRequiresDTD", "PB_Tree_CheckBoxes", "PB_Packer_Gzip", "PB_SerialPort_XonXoffHandshake", "PB_Engine3D_EnableCG", "PB_Key_Divide", "PB_XML_Finished", "PB_Mesh_Normal", "PB_Explorer_NoParentFolder", "PB_Date_Modified", "PB_Key_Escape", "PB_Window_SystemMenu", "PB_Text_Border", "PB_2DDrawing_Transparent", "PB_Event3D_SizeWindow", "PB_Explorer_NoSort", "PB_Vehicle_RollInfluence", "PB_Shortcut_F20", "PB_ToolBarIcon_Help", "PB_Button_PressedImage", "PB_Editor_WordWrap", "PB_Shortcut_F21", "PB_SerialPort_OverRun", "PB_Shortcut_F22", "PB_Shortcut_F23", "PB_Processor_x86", "PB_Joint_LowerLimit", "PB_Shortcut_F24", "PB_Screen_SmartSynchronization", "PB_Processor_mc68000", "PB_OpenGL_NoDepthBuffer", "PB_Particle_MinimumVelocity", "PB_Tree_Collapsed", "PB_Material_Trilinear", "PB_GadgetType_ScrollArea", "PB_SerialPort_DSR", "PB_Packer_Bzip2", "PB_SerialPort_DCD", "PB_FTP_WriteGroup", "PB_Database_PostgreSQL", "PB_Mesh_TriangleList", "PB_Window_InnerCoordinate", "PB_NodeAnimation_LinearRotation", "PB_Tree_Expanded", "PB_RegularExpression_DotAll", "PB_Sound3D_Loop", "PB_Path_SquareEnd", "PB_Particle_MaximumVelocity", "PB_FileSystem_Hidden", "PB_Compiler_Debugger", "PB_SerialPort_RI", "PB_Printer_Collate", "PB_FTP_ExecuteAll", "PB_Mail_To", "PB_Path_RoundCorner", "PB_ConeTwistJoint_SwingSpan2", "PB_ListIcon_Selected", "PB_Structure_AlignC", "PB_FileSystem_NoExtension", "PB_Text_Right", "PB_Event_ClientDisconnected", "PB_Calendar_Normal", "PB_ScrollBar_Vertical", "PB_Entity_ScaleX", "PB_JSON_Boolean", "PB_Entity_ScaleY", "PB_Entity_ScaleZ", "PB_Joint_Damping", "PB_Texture_ManualUpdate", "PB_Canvas_Modifiers", "PB_Mail_Asynchronous", "PB_OnError_Flags", "PB_FileSystem_Force", "PB_OS_MacOS", "PB_Vehicle_MaxSuspensionCompression", "PB_Procedure", "PB_Canvas_Container", "PB_Tree_ThreeState", "PB_Database_Double", "PB_GadgetType_Web", "PB_Shortcut_Select", "PB_Light_SpecularColor", "PB_Material_DiffuseColor", "PB_Tree_AlwaysShowSelection", "PB_Directory_ProgramData", "PB_Shortcut_Left", "PB_XML_ReIndent", "PB_Event_CloseWindow", "PB_Compiler_OS", "PB_Program_Write", "PB_Light_Spot", "PB_Engine3D_ResetFPS", "PB_XML_Aborted", "PB_Text_Center", "PB_Entity_CompoundBody", "PB_SliderJoint_UpperLimit", "PB_EventType_LostFocus", "PB_String_Password", "PB_Terrain_Lightmap", "PB_String", "PB_Mesh_Color", "PB_GadgetType3D_Image", "PB_Explorer_AutoSort", "PB_Canvas_Keyboard", "PB_Canvas_MiddleButton", "PB_Shortcut_Clear", "PB_OpenGL_FlipBuffers", "PB_XML_JunkAfterDocElement", "PB_Ascii", "PB_File_SharedWrite", "PB_NetworkEvent_Connect", "PB_Shortcut_0", "PB_SerialPort_DTR", "PB_Shortcut_1", "PB_Shortcut_Decimal", "PB_Shortcut_2", "PB_MouseButton_Right", "PB_Shortcut_3", "PB_Packer_File", "PB_Shortcut_4", "PB_OnError_R8", "PB_Shortcut_5", "PB_OpenGL_MiddleButton", "PB_OnError_R9", "PB_MessageRequester_Yes", "PB_Shortcut_6", "PB_MessageRequester_Info", "PB_Shortcut_7", "PB_SerialPort_XoffSent", "PB_EventType_SizeItem", "PB_Shortcut_8", "PB_HingeJoint_LowerLimit", "PB_ToolBarIcon_Copy", "PB_Shortcut_9", "PB_Entity_LinearDamping", "PB_Splitter_SecondMinimumSize", "PB_Shortcut_Multiply", "PB_Menu_ModernLook", "PB_String_NoCase", "PB_Material_TextureUScroll", "PB_XML_TagMismatch", "PB_EventType_Up", "PB_OS_Windows_NT3_51", "PB_Explorer_NoMyDocuments", "PB_GadgetType_HyperLink", "PB_EventType_Down", "PB_Database_StaticCursor", "PB_NodeAnimation_Spline", "PB_ConeTwistJoint_SwingSpan", "PB_ProgressBar_Vertical", "PB_Shortcut_Capital", "PB_Local", "PB_FTP_Error", "PB_Mesh_UVCoordinate", "PB_World_WaterPick", "PB_Shortcut_Command", "PB_Mesh_Tangent", "PB_2DDrawing_Outlined", "PB_SerialPort_RtsHandshake", "PB_Sound_Streaming", "PB_Material_ReflectionMap", "PB_Key_Insert", "PB_PackerPlugin_JCALG1", "PB_Date_Accessed", "PB_Entity_DisableContactResponse", "PB_Key_Comma", "PB_Shortcut_Pad0", "PB_XML_AsyncEntity", "PB_Splitter_FirstMinimumSize", "PB_Shortcut_Pad1", "PB_XML_ReduceSpace", "PB_Shortcut_Pad2", "PB_EntityAnimation_Once", "PB_Shortcut_Pad3", "PB_MDI_Next", "PB_Shortcut_Pad4", "PB_Camera_Plot", "PB_Shortcut_Pad5", "PB_Shortcut_Pad6", "PB_Shortcut_Pad7", "PB_StatusBar_Right", "PB_Shortcut_Control", "PB_Shortcut_Pad8", "PB_GadgetType3D_Frame", "PB_Shortcut_Pad9", "PB_Default", "PB_OnError_InvalidMemory", "PB_Shortcut_A", "PB_SerialPort_SpaceParity", "PB_Shortcut_B", "PB_Shortcut_C", "PB_Shortcut_D", "PB_ProgressBar3D_Minimum", "PB_Shortcut_E", "PB_XML_BinaryEntityRef", "PB_Mesh_Dynamic", "PB_Explorer_HiddenFiles", "PB_Shortcut_F", "PB_JSON_NoCase", "PB_Shortcut_G", "PB_Date_Month", "PB_OpenGL_Key", "PB_Shortcut_H", "PB_GadgetType_ButtonImage", "PB_XML_StringFormat", "PB_Shortcut_I", "PB_Shortcut_J", "PB_Shortcut_K", "PB_Round_Down", "PB_Program_Error", "PB_Shortcut_L", "PB_Splitter_Vertical", "PB_Shortcut_M", "PB_SerialPort_IOE", "PB_Shortcut_N", "PB_GadgetType_ListIcon", "PB_Shortcut_O", "PB_Absolute", "PB_Key_NumLock", "PB_Shortcut_P", "PB_Shortcut_Q", "PB_Shortcut_R", "PB_VectorText_Baseline", "PB_PrinterQuality_Low", "PB_Shortcut_S", "PB_Directory_Public", "PB_GadgetType3D_Text", "PB_ToolBarIcon_New", "PB_Shortcut_T", "PB_Shortcut_U", "PB_Shortcut_V", "PB_XML_UnexpectedState", "PB_LensFlare_HaloColor", "PB_Entity_LocalBoundingBox", "PB_ProgressBar3D_Maximum", "PB_String3D_Password", "PB_Shortcut_W", "PB_Cipher_CRC32", "PB_Tree_NoButtons", "PB_Shortcut_X", "PB_EventType_DownloadProgress", "PB_Shortcut_Y", "PB_2DDrawing_AlphaClip", "PB_Shortcut_Z", "PB_SerialPort_XonCharacter", "PB_VectorImage_Repeat", "PB_SerialPort_RxParity", "PB_Key_Multiply", "PB_System_PageSize", "PB_EventType_RightDoubleClick", "PB_Tree_Checked", "PB_Checkbox_Inbetween", "PB_Canvas_RightButton", "PB_Byte", "PB_GadgetType_Container", "PB_ToolBarIcon_Save", "PB_Event_ActivateWindow", "PB_ScrollArea3D_InnerHeight", "PB_Shortcut_Shift", "PB_Date_Day", "PB_Date_Minute", "PB_PixelFormat_15Bits", "PB_Screen_NoSynchronization", "PB_Key_Scroll", "PB_Key_RightAlt", "PB_Button_Image", "PB_Shortcut_Return", "PB_Spin_Numeric", "PB_GadgetType_Button", "PB_Database_SQLite", "PB_Keyboard_International", "PB_Cursor_Cross", "PB_World", "PB_Explorer_Report", "PB_Database_String", "PB_ComboBox3D_Editable", "PB_Engine3D_Raw", "PB_String_AutoInsert", "PB_Shortcut_Execute", "PB_Cursor_Hand", "PB_GadgetType3D_ScrollBar", "PB_Joint_Position", "PB_EventType_Resize", "PB_ListIcon_CheckBoxes", "PB_XML_Success", "PB_Entity_PlaneBody", "PB_Canvas_Input", "PB_OpenGL_FlipSynchronization", "PB_Sound_Stopped", "PB_SerialPort_TxFull", "PB_Entity_MaxVelocity", "PB_Key_PadEnter", "PB_Engine3D_DebugOutput", "PB_Word", "PB_Light_DiffuseColor", "PB_SerialPort_MarkParity", "PB_ScrollBar3D_Minimum", "PB_Key_Space", "PB_Preference_GroupSeparator", "PB_SerialPort_OddParity", "PB_OS_Windows_Vista", "PB_Requester_MultiSelection", "PB_Material_TextureVScale", "PB_ListIcon_SmallIcon", "PB_Canvas_Key", "PB_SerialPort_CTS", "PB_Cursor_Arrows", "PB_Http_Failed", "PB_FileSystem_Compressed", "PB_Shortcut_Tab", "PB_Compiler_EnableExplicit", "PB_Canvas_Clip", "PB_ScrollBar3D_Maximum", "PB_GadgetType3D_String", "PB_XML_ReservedPrefixXMLNS", "PB_GadgetType_Spin", "PB_System_CPUs", "PB_GadgetType_ListView", "PB_Terrain_LowLODShadows", "PB_Key_PadComma", "PB_OpenGL_32BitAccumulationBuffer", "PB_Entity_AngularVelocity", "PB_Constant", "PB_Canvas_Command", "PB_ScrollArea_ScrollStep", "PB_OS_MacOSX_10_10", "PB_OS_MacOSX_10_11", "PB_System_TotalSwap", "PB_Path_Default", "PB_Prototype", "PB_OS_MacOSX_10_12", "PB_Cipher_Decode", "PB_SerialPort_XoffReceived", "PB_FTP_ExecuteUser", "PB_Printer_CurrentPage", "PB_Gadget_BackColor", "PB_Mesh_LineList", "PB_Module", "PB_Character", "PB_Compiler_EnumerationValue", "PB_Web_StatusMessage", "PB_EntityAnimation_Cumulative", "PB_VectorText_Default", "PB_RegularExpression_AnyNewLine", "PB_Round_Nearest", "PB_Date_Calendar", "PB_Canvas_Control", "PB_ToolBarIcon_Delete", "PB_Window_FrameCoordinate", "PB_GadgetType_Canvas", "PB_Mail_From", "PB_OS_Web", "PB_GadgetType_MDI", "PB_Mesh_TriangleFan", "PB_Explorer_NoDriveRequester", "PB_OpenGL_Input", "PB_List_After", "PB_Entity_AngularVelocityX", "PB_OS_Windows_10", "PB_GadgetType_ExplorerTree", "PB_Entity_AngularVelocityY", "PB_ListIcon_DisplayMode", "PB_Unit_Millimeter", "PB_Entity_AngularVelocityZ", "PB_Program_Hide", "PB_MDI_AutoSize", "PB_Tree_NoLines", "PB_Interface", "PB_Explorer_SmallIcon", "PB_VectorImage_Default", "PB_ProcessPureBasicEvents", "PB_ListIcon_ThreeState", "PB_Explorer_List", "PB_ToolBarIcon_Find", "PB_GadgetType_Shortcut", "PB_Database_Long", "PB_Light_Directional", "PB_Material_EnvironmentMap", "PB_Shortcut_All", "PB_PrinterPageSet_Odd", "PB_Cursor_Denied", "PB_Material_Bilinear", "PB_Material_AntiClockWiseCull", "PB_Image_Raw", "PB_Frame_Flat", "PB_Tree_SubLevel", "PB_Cursor_LeftRight", "PB_Vehicle_Friction", "PB_Path_Connected", "PB_OnError_PriviledgedInstruction", "PB_Directory_Desktop", "PB_Shortcut_Alt", "PB_XML_UndefinedEntity", "PB_Entity_BoxBody", "PB_MessageRequester_No", "PB_Shortcut_Apps", "PB_Entity_LinearSleeping", "PB_Drop_Private", "PB_Shortcut_Print", "PB_SerialPort_Break", "PB_Material_ShadingMode", "PB_GadgetType_ExplorerCombo", "PB_XML_IncorrectEncoding", "PB_OpenGL_8BitStencilBuffer", "PB_Sort_Ascending", "PB_EventType_RightClick", "PB_Key_SemiColon", "PB_Shortcut_Numlock", "PB_Mail_Bcc", "PB_ScrollArea_InnerWidth", "PB_Mail_Date", "PB_ScrollBar3D_PageLength", "PB_Material_NormalMap", "PB_Printer_Range", "PB_World_WaterSmooth", "PB_XML_StandaloneYes", "PB_OS_MacOSX_Future", "PB_Explorer_DisplayMode", "PB_PrinterRange_All", "PB_Quad", "PB_Event_DeactivateWindow", "PB_FileSystem_System", "PB_Shortcut_PageUp", "PB_Directory_AllUserData", "PB_XML_Syntax", "PB_GadgetType_Editor", "PB_ListIcon_LargeIcon", "PB_SerialPort_NoHandshake", "PB_Entity_Restitution", "PB_Panel3D_ItemWidth", "PB_Texture_CameraViewPort", "PB_Cipher_Encode", "PB_OpenGL_16BitDepthBuffer", "PB_Web_ProgressMax", "PB_ScrollArea_X", "PB_ScrollArea_Y", "PB_Unit_Point", "PB_Clipboard_Image", "PB_Window_WindowCentered", "PB_OS_Windows_Server_2008_R2", "PB_Canvas_Buttons", "PB_Packer_UncompressedSize", "PB_Material_DepthWrite", "PB_OS_Windows_2000", "PB_Key_Up", "PB_Key_LeftControl", "PB_Gadget_ScreenCoordinate", "PB_File_NoBuffering", "PB_MessageRequester_Error", "PB_Vehicle_WheelDampingRelaxation", "PB_Directory_Programs", "PB_Event_SysTray", "PB_Drag_Finish", "PB_MDI_Arrange", "PB_Entity_MinBoundingBoxX", "PB_Drop_Files", "PB_OS_Windows", "PB_Entity_MinBoundingBoxY", "PB_Entity_MinBoundingBoxZ", "PB_Material_AmbientColor", "PB_Printer_Scale", "PB_Key_F1", "PB_Cursor_UpDown", "PB_MessageRequester_Ok", "PB_MDI_TileHorizontally", "PB_Key_F2", "PB_Shortcut_Separator", "PB_XML_BadCharacterRef", "PB_ListIcon_MultiSelect", "PB_Key_F3", "PB_Key_F4", "PB_Web_BlockPopups", "PB_Key_F5", "PB_Camera_Orthographic", "PB_Terrain_CastShadows", "PB_Key_F6", "PB_Database_DynamicCursor", "PB_ListIcon_ColumnCount", "PB_Key_F7", "PB_Entity_IsActive", "PB_Vehicle_WheelDampingCompression", "PB_Key_F8", "PB_Entity_DisplaySkeleton", "PB_Material_Solid", "PB_Key_F9", "PB_Explorer_LargeIcon", "PB_Sprite_AlphaBlending", "PB_EntityAnimation_Stopped", "PB_Network_UDP", "PB_SerialPort_TXD", "PB_Orientation_Direction", "PB_Function", "PB_String_MaximumLength", "PB_Entity_MaxBoundingBoxX", "PB_Processor_JavaScript", "PB_Entity_None", "PB_Entity_MaxBoundingBoxY", "PB_XML_ReservedPrefixXML", "PB_Entity_MaxBoundingBoxZ", "PB_OpenGL_Keyboard", "PB_Engine3D_AverageFPS", "PB_Event_RestoreWindow", "PB_Key_LeftShift", "PB_VectorText_Visible", "PB_Printer_Reverse", "PB_Sprite_BilinearFiltering", "PB_World_DebugNone", "PB_Entity_DeactivationTime", "PB_AntialiasingMode_None", "PB_Font_Italic", "PB_SerialPort_RTS", "PB_Date_Second", "PB_OpenGL_Modifiers", "PB_OpenGL_Cursor", "PB_Entity_ForceVelocity", "PB_Calendar_Bold", "PB_Program_Wait", "PB_Key_Return", "PB_NetworkEvent_None", "PB_World_WaterCaustics", "PB_Mesh_Face", "PB_Explorer_MultiSelect", "PB_XML_CantChangeFeatures", "PB_Cipher_URL", "PB_XML_StreamNext", "PB_SerialPort_RtsCtsHandshake", "PB_GadgetType3D_Panel", "PB_Mesh_Vertex", "PB_Particle_Velocity", "PB_XML_Comment", "PB_Gadget_TitleBackColor", "PB_Sound_Paused", "PB_Packer_CompressedSize", "PB_Shortcut_Down", "PB_PixelFormat_8Bits", "PB_Camera_Perspective", "PB_Printer_Color", "PB_EntityAnimation_Manual", "PB_EventType3D_Focus", "PB_NodeAnimation_SphericalRotation", "PB_ScrollArea_Flat", "PB_Splitter_FirstGadget", "PB_Material_AlphaReject", "PB_World_WaterFoam", "PB_Sprite_BlendDestinationAlpha", "PB_Key_Add", "PB_Key_Left", "PB_Gadget_ActualSize", "PB_ToolBarIcon_Redo", "PB_Drag_None", "PB_Parent", "PB_MessageRequester_Cancel", "PB_Explorer_Editable", "PB_Sprite_BlendDestinationColor", "PB_XML_PublicID", "PB_Program_UTF8", "PB_EventType_Focus", "PB_Image_Transparent", "PB_GadgetType_IPAddress", "PB_EventType_DownloadStart", "PB_Network_TCP", "PB_Sort_NoCase", "PB_Structure", "PB_Canvas_Border", "PB_GadgetType3D_Container", "PB_ListView_MultiSelect", "PB_Entity_CylinderBody", "PB_Image_DisplayFormat", "PB_OpenGL_Command", "PB_RegularExpression_NoCase", "PB_Sprite_BlendInvertSourceAlpha", "PB_EventType_MouseLeave", "PB_Date_Minimum", "PB_ListIcon_HeaderDragDrop", "PB_Event_ClientConnected", "PB_Directory_Musics", "PB_Sprite_BlendInvertSourceColor", "PB_Texture_VisibilityMask", "PB_Splitter_FirstFixed", "PB_Sound_Frame", "PB_GadgetType3D_Option", "PB_String_LowerCase", "PB_Web_Busy", "PB_Sound_Playing", "PB_List_Before", "PB_Shadow_TextureAdditive", "PB_Material_TAM", "PB_Shortcut_Delete", "PB_String_Greater", "PB_Key_RightBracket", "PB_OpenGL_Control", "PB_Date_Maximum", "PB_Compiler_Thread", "PB_Cipher_ECB", "PB_Joint_Stiffness", "PB_UTF8", "PB_Program_Read", "PB_UTF16", "PB_Mesh_LineStrip", "PB_2DDrawing_Default", "PB_Mail_XMailer", "PB_SerialPort_EvenParity", "PB_Entity_ConvexHullBody", "PB_Gadget_RequiredSize", "PB_3DArchive_Zip", "PB_Drag_Update", "PB_PackerPlugin_Zip", "PB_XML_IncompletePE", "PB_Explorer_DrivesOnly", "PB_MDI_NoScrollBars", "PB_String_AutoComplete", "PB_Key_BackSlash", "PB_Vehicle_MaxSuspensionForce", "PB_Key_Pad0", "PB_EventType_MouseEnter", "PB_Key_Pad1", "PB_Key_Pad2", "PB_Database_ODBC", "PB_Sound_Unknown", "PB_Printer_Quality", "PB_Key_Pad3", "PB_OnError_R10", "PB_Key_Pad4", "PB_Map", "PB_OnError_R11", "PB_Key_Pad5", "PB_Unicode", "PB_OnError_R12", "PB_Engine3D_DebugLog", "PB_Key_Slash", "PB_Key_Pad6", "PB_OnError_R13", "PB_Key_Pad7", "PB_Compiler_LineNumbering", "PB_OnError_R14", "PB_EntityAnimation_Continue", "PB_Key_Pad8", "PB_OnError_R15", "PB_MDI_TileImage", "PB_Key_RightShift", "PB_Key_Pad9", "PB_Button_Toggle", "PB_Key_LeftAlt", "PB_Cipher_MD5", "PB_XML_Root", "PB_XML_XMLDeclaration", "PB_Path_Preserve", "PB_Enumeration", "PB_Web_Stop", "PB_Orientation_Quaternion", "PB_Explorer_Directory", "PB_Shortcut_Space", "PB_Particle_Box", "PB_Text3D_Bottom", "PB_World_WaterHighQuality", "PB_Panel_ItemHeight", "PB_Path_CounterClockwise", "PB_StatusBar_Raised", "PB_Compiler_Version", "PB_Panel3D_TabHeight", "PB_OnError_RAX", "PB_System_FreePhysical", "PB_XML_UnknownEncoding", "PB_Entity_Friction", "PB_FileSystem_ReadOnly", "PB_DirectoryEntry_File", "PB_Compiler_Unicode", "PB_List_Last", "PB_System_TotalVirtual", "PB_FTP_ReadUser", "PB_Text3D_VerticallyCentered", "PB_FileSystem_Recursive", "PB_JSON_PrettyPrint", "PB_World_WaterMediumQuality", "PB_Tree_Inbetween", "PB_Web_HtmlCode", "PB_Mail_Subject", "PB_HTTP_Asynchronous", "PB_GadgetType_Splitter", "PB_EventType_CloseItem", "PB_Drag_Copy", "PB_XML_DublicateAttribute", "PB_OnError_Breakpoint", "PB_Material_MirrorTAM", "PB_Sound3D_Streaming", "PB_Canvas_WheelDelta", "PB_Key_PageUp", "PB_Checkbox_Checked", "PB_Directory_Documents", "PB_Calendar_Borderless", "PB_Font_HighQuality", "PB_2DDrawing_XOr", "PB_Canvas_ClipMouse", "PB_Memory_NoClear", "PB_Sprite_NoFiltering", "PB_OpenGL_Buttons", "PB_String_EscapeInternal", "PB_FTP_ReadAll", "PB_Vehicle_SuspensionStiffness", "PB_Event3D_ActivateWindow", "PB_XML_StreamEnd", "PB_String_BorderLess", "PB_Date_CheckBox", "PB_PrinterPageSet_All", "PB_Orientation_PitchYawRoll", "PB_ToolBarIcon_Cut", "PB_ScrollBar3D_Vertical", "PB_Shortcut_Home", "PB_Preference_NoSpace", "PB_Explorer_Selected", "PB_Key_End", "PB_2DDrawing_Gradient", "PB_SerialPort_Frame", "PB_Shortcut_Back", "PB_Shortcut_RightWindows", "PB_VectorText_Offset", "PB_Material_SpecularColor", "PB_Web_BlockPopupMenu", "PB_ToolBar_Small", "PB_EventType_ReturnKey", "PB_Sprite_PixelCollision", "PB_Joint_UpperLimit", "PB_World_DebugBody", "PB_OS_Linux_Future", "PB_MouseButton_Left", "PB_FTP_Finished", "PB_Button_Right", "PB_OnError_RBP", "PB_Material_AmbientColors", "PB_Gadget_FrontColor", "PB_Event_FirstCustomValue", "PB_ToolBarIcon_Open", "PB_Explorer_NoFiles", "PB_Window_NoGadgets", "PB_OnError_RBX", "PB_String_CaseSensitive", "PB_FTP_File", "PB_Canvas_Shift", "PB_ProgressBar_Minimum", "PB_JSON_Object", "PB_Printer_Landscape", "PB_Splitter_SecondGadget", "PB_Canvas_MouseX", "PB_Mail_Error", "PB_Canvas_MouseY", "PB_Spin3D_Minimum", "PB_World_WaterSun", "PB_OpenGL_SetContext", "PB_2DDrawing_AllChannels", "PB_ScrollArea3D_X", "PB_EntityAnimation_Average", "PB_ScrollArea3D_Y", "PB_ImagePlugin_TIFF", "PB_JSON_Number", "PB_XML_RecursiveEntityRef", "PB_PrinterPageSet_Even", "PB_GadgetType_TrackBar", "PB_String_EscapeXML", "PB_Coordinate_Source", "PB_Shadow_TextureModulative", "PB_AntialiasingMode_x2", "PB_Program_Unicode", "PB_Editor3D_ReadOnly", "PB_AntialiasingMode_x4", "PB_GadgetType3D_ComboBox", "PB_UTF32", "PB_Text3D_HorizontallyCentered", "PB_AntialiasingMode_x6", "PB_Window_Tool", "PB_ProgressBar_Maximum", "PB_UTF32BE", "PB_World_DebugEntity", "PB_Material_SelfIlluminationColor", "PB_ComboBox_UpperCase", "PB_ScrollArea_BorderLess", "PB_GadgetType_Unknown", "PB_Entity_SphereBody", "PB_Event_LeftDoubleClick", "PB_Canvas_CustomCursor", "PB_Spin3D_Maximum", "PB_PixelFormat_32Bits_RGB", "PB_PixelFormat_32Bits_BGR", "PB_EventType_KeyUp", "PB_System_FreeSwap", "PB_Window_ScreenCentered", "PB_Material_None", "PB_Web_Progress", "PB_OnError_RSI", "PB_ScrollArea_InnerHeight", "PB_Compiler_IsIncludeFile", "PB_Date_Hour", "PB_XML_ExternalEntityHandling", "PB_Material_CullingMode", "PB_OpenGL_CustomCursor", "PB_Explorer_None", "PB_Panel_ItemWidth", "PB_Array", "PB_Directory_Downloads", "PB_OnError_RSP", "PB_OS_Windows_Future", "PB_Explorer_NoButtons", "PB_Gadget_WindowCoordinate", "PB_Float", "PB_Billboard_Oriented", "PB_Compiler_IsMainFile", "PB_Entity_ConeBody", "PB_XML_LinuxNewline", "PB_System_ProcessCPUs", "PB_Key_F10", "PB_Material_ClockWiseCull", "PB_Event_Repaint", "PB_Key_F11", "PB_Window_MaximizeGadget", "PB_Key_F12", "PB_SerialPort_WaitingRLSD", "PB_VectorParagraph_Right", "PB_ParticleEmitter", "PB_Container_Double", "PB_Key_Apostrophe", "PB_SliderJoint_LowerLimit", "PB_Shadow_Modulative", "PB_Shadow_Additive", "PB_OpenGL_Shift", "PB_Entity_StaticBody", "PB_EntityAnimation_Unknown", "PB_Cursor_LeftUpRightDown", "PB_Window_Minimize", "PB_Shortcut_Subtract", "PB_Button_Default", "PB_Program_Connect", "PB_NodeAnimation_Stopped", "PB_Key_0", "PB_OnError_RCX", "PB_Key_1", "PB_Key_2", "PB_ComboBox_Image", "PB_Key_3", "PB_ImagePlugin_BMP", "PB_Key_4", "PB_ScrollBar_Minimum", "PB_Key_5", "PB_Key_6", "PB_ToolBar_Large", "PB_Key_7", "PB_OpenGL_RightButton", "PB_Key_8", "PB_HingeJoint_UpperLimit", "PB_Key_9", "PB_OS_Windows_7", "PB_OS_Windows_8", "PB_GadgetType_Image", "PB_NetworkEvent_Data", "PB_StatusBar_BorderLess", "PB_Frame_Double", "PB_File_SharedRead", "PB_MDI_Previous", "PB_SerialPort_WaitingDSR", "PB_All", "PB_FTP_Started", "PB_ToolBar_InlineText", "PB_LensFlare_CircleColor", "PB_ScrollArea3D_InnerWidth", "PB_Date_Week", "PB_Key_Delete", "PB_ComboBox_Editable", "PB_Path_RoundEnd", "PB_Engine3D_MinimumFPS", "PB_ScrollBar_Maximum", "PB_PackerPlugin_Lzma", "PB_Cipher_CBC", "PB_Window_TitleBar", "PB_Web_SelectedText", "PB_OpenGL_WheelDelta", "PB_Mail_UseSSL", "PB_StatusBar_Center", "PB_Compiler_Date", "PB_Keyboard_AllowSystemKeys", "PB_Printer_PageSet", "PB_ImagePlugin_JPEG2000", "PB_Material_Modulate", "PB_Coordinate_User", "PB_XML_NoCase", "PB_EventType_Change", "PB_Material_TextureRotate", "PB_Gadget_TitleFrontColor", "PB_Key_Equals", "PB_Engine3D_Adjusted", "PB_Engine3D_Reset", "PB_Terrain_NormalMapping", "PB_Integer", "PB_EventType_RightButtonUp", "PB_Compiler_InlineAssembly", "PB_Camera", "PB_ToolBarIcon_PrintPreview", "PB_OnError_RDI", "PB_Program_Eof", "PB_Key_A", "PB_Splitter_SecondFixed", "PB_Key_B", "PB_Key_C", "PB_Directory_Videos", "PB_Key_D", "PB_OpenGL_NoStencilBuffer", "PB_System_TotalPhysical", "PB_XML_MisplacedXML", "PB_ToolBar_Normal", "PB_Key_E", "PB_Key_F", "PB_Engine3D_Current", "PB_Key_G", "PB_EventType_DownloadEnd", "PB_Camera_Wireframe", "PB_ToolBarIcon_Paste", "PB_Key_H", "PB_Key_I", "PB_GadgetType_String", "PB_Billboard_Perpendicular", "PB_Key_J", "PB_Processor_PowerPC", "PB_Database_Quad", "PB_Entity_AngularSleeping", "PB_Key_K", "PB_Key_L", "PB_Engine3D_NbRenderedBatches", "PB_TrackBar_Vertical", "PB_Key_M", "PB_Image_OriginalDepth", "PB_GadgetType_Frame", "PB_Key_N", "PB_Key_Subtract", "PB_Key_O", "PB_OnError_RDX", "PB_Engine3D_NbRenderedTriangles", "PB_Container_Raised", "PB_Key_P", "PB_ProgressBar_Unknown", "PB_XML_NoDeclaration", "PB_Material_Flat", "PB_Key_Q", "PB_Cursor_Default", "PB_Key_R", "PB_Key_S", "PB_XML_CutNewline", "PB_Key_T", "PB_File_NoShare", "PB_Key_U", "PB_OSFunction", "PB_Key_V", "PB_Key_Pause", "PB_PointJoint_Damping", "PB_Event_None", "PB_Key_W", "PB_Key_X", "PB_Sort_Descending", "PB_ListIcon_Checked", "PB_Key_Y", "PB_Key_Z", "PB_Entity_CastShadow", "PB_FileSystem_Normal", "PB_Key_Period", "PB_XML_StandaloneUnset", "PB_Node", "PB_Coordinate_Device", "PB_Material_ClampTAM", "PB_ScrollArea_Raised", "PB_Web_NavigationCallback", "PB_Directory_Pictures", "PB_List_First", "PB_XML_PartialCharacter", "PB_GadgetType3D_Spin", "PB_GadgetType3D_CheckBox", "PB_Material_AlphaBlend", "PB_Spin_Minimum"
      ValueData:
      Data.q 512, 4, 25, 60, 4, 5, 0, 768, -4, 4, 8, 5, 128, 51, 65547, 6, 3, 1, 3, 1, 47, 65546, 16777216, 1, 2, 208, 2, 4, 14, 1, 1, 1, 4096, 4, 3, 4, 1048576, 3, 8, 3, 1, 1, 13, 4, 6, 128, 0, 48, 7, 1, 27, 22, 2, 4, 2, 0, 0, 3, 1, 20, 4, 1000, 3, 0, 13238272, 4, 2, 1100, 5, 40, 13108, 3, 3, 205, 1200, 91, 4096, 13101, 13105, 20, 1, 5, 3, 7, 3, 41, 5, 3, 65545, 3221225501, 1, 34, 1, 256, -1, 100, 7, 0, 8, 9, 4, 2, 1, 1, 10, 1195724874, 1, 33, 1, 30, 23, 3, -2, 18, 4, 1, 1, 4, 0, 1, 10, 10, 4, 0, 0, 3, 107, 2, 1, 0, 1, 4, 16, 32, 1, 14, 1, 64, 3221225620, 3, 0, 8, 16, 13111, 1, 2, 65619, 16, 256, 262144, 0, 1, 0, 67108864, 0, 1073741824, -1, 157, 28, 13112, 12845056, 0, 8, 2, 128, 16, 1, 9, 4, 0, 1313817417, 128, 31, 8, 2, -2, 2, -1, 2, 4, 2, 1, 256, 1, 1, 8, 111, 2, 2, 128, 9, 8, 199, 4, 2, 512, 16, 27, 5, 65, 65540, 13117, 4, 6, 33554432, 14, 14002, 75, 14, 65618, 4, 1, -1, 2, 1, 3, 0, 2, 0, 4, 5, 1, 0, 0, 0, 3, 64, 3, 2, 4, 15, 8, 1, 65536, 256, 24, 3, 8192, 16777216, 2, 11, 65549, 0, 16, 13, 3, 10, 1, 3, 12, 2, 4, 13107, 65544, 1, 8388608, 2048, 8, 1, 0, 3, 1, 56, 2147483648, 38, 14, 32, 31, 11, 5, 1, 1, 13106, 4, 2, 8, 35, 10, 95, 11, -1, 33554432, 1, 112, 28, 65542, 113, 1, 114, 12, 115, 0, 0, 0, 32, 116, 4, 117, 118, 119, 1, 120, 4, 1, 0, 12, 14, 64, 268435456, 2, 2, 3221225616, 32768, 256, 5, 0, 27, 19, 4673104, 0, -3, 2, 4, 0, 1048576, 0, 0, 7, 0, 5, 8, -3, 4, 8, 2, 21, 3, 2, 64, 4, 1, 2, 34, 1, 512, 34, 4, 6, 13100, 65536, 64, 2, 1, 3, 13118, 1, 7, 45, 2, 1024, 4, 0, 28, 65541, 2, 105, 0, 65617, 1, 1, 44, 1, 13110, 1, 26, 2, 4, 1, 1, 121, 15, 21, 1024, 122, 1, 123, 1, -2, 124, 4, 125, 12, 65539, 126, -65535, 5, 127, 128, 2, 129, 130, 0, 83, 20, 4194304, 2048, 1, 128, 8, 2, 14, 10, 268435456, 2, 8192, 3, 6, 1, 4, 1, 4278100, 7, 2, -1, 39, 4, 8, 65623, 1, 145, 65536, 128, 2, 37, 1, 58, 10000, 16384, 10100, 2, 3, 10200, 209, 10300, 0, 10400, 10500, 1, 1, 40, 10600, 10700, 10800, 10900, 8, 16, 25, 256, 65536, 3, 4, 181, 36, 4, 2, 2, 1, 13107200, 131072, 1, 3, 32, 7, 131, 11, 2, 268435456, 132, 2, 133, 134, 2, 15, 135, 2, 1, 32, 3, 8, 2, 16, 6, 131072, 5, 32, 3, 4, 1, 2, 2, 4, 1, 32, 4, 2, 0, 4, 4, 1, 1, 64, 6, 1, -1, 1, 2, 4, 0, 1, 22, 3, 23, 24, 12, 2, 6, 1, 16, 2, 4, 3, 53, 32, 65536, 4, 18, 41, 1, 0, 32, 4, 37, 256, 13116, 1, 16, 3, 4, 35, 1, 8, 4, 14001, 32, 1, 8, 2, 9, 64, 4, 4, 12, 12, 9, 24, 262144, 1, 48, 1, 49, 110, 50, 2, 51, 0, 52, 8, 53, 4, 9, 6, 54, 64, 55, 2048, 65534, 56, 8, 1, 57, 27, 2, 106, 1, 1, 4, 7, 4, 5, 512, 10, 5, 0, 1, 5, 4, 20, 2, -2, 8, -3, 131072, 32, 4, 1, 1, 2, 210, 5, 1, 30, 51, 96, 13, 1, 97, 64, 98, 1, 99, -4, 100, 2, 101, 102, 103, 8, 131072, 104, 7, 105, -1, 3221225477, 65, 4, 66, 67, 68, 0, 69, 15, 1, 1024, 70, 2, 71, 1, 5, 72, 19, 1, 73, 74, 75, 0, 32, 76, 1, 77, 64, 78, 12, 79, 0, 69, 80, 81, 82, 8, 2, 83, 9, 3, 6, 84, 85, 86, 23, 0, 128, 1, 2, 87, 2, 1, 88, 65621, 89, 32, 90, 8, 2, 4, 55, 6, 3, 4, -1, 2, 1, 11, 8, 13104, 2, 65536, 3, 5, 2, 0, 70, 184, 1, 13, 2, 1, 2, 1, 1, 8, 3, 2, 1, 32, 1073741824, 43, 3, 12, 13, 6, 1, 0, 9, 9, 16, 0, 32, 10, 156, 2, 3, 0, 3, 1, 57, 2, 1, 70, 1, 3, 1, 5, 7, 6, -3, 2048, 9, 0, 10, 2, 2, 39, 26, 0, 6, 2, 179, 2048, 20, 50, 4, 5, 11000, 11100, 4, 0, 57, 11200, 1, 1024, 256, 512, 2, 2, 58, 11, 0, 3, 1, 0, 5242880, 2, 0, 4, 5, 0, 33, 0, 5, 30, 6, 16, 9, 4, 17, 110, 24, 18, 2, 4, 19, 2, 2, 2, 52, 1, 0, -522133279, 64, 2, 12, 32, 1, 2, 15, -1, 3, 5, 1, 3, 1, 3, 1, 7, 1, 2, 3221225622, 0, 262144, 11, 2, 7, 93, 13, 512, 42, 16, 8, 25, 19, 512, 0, 1, 39, 144, 4, 1, 3, 4, 3, 128, 8, 1, 60000, 2, 1, 13, 13114, 4, 33, 5, 2, 22, 0, 0, 3, 1, 4, 2, 64, 5, 3, 4, 2, 8, 2, 85, 4, 0, 6, 50, 200, 29, 1, 524288, 16, 5, 1, 13102, 4, -6, 1, 15, 1, 4, 16, 2, 2048, 59, 8, 0, -3, 60, 108, 14, 4, 61, 62, 1, 63, 1, 1, 64, 1, 3, 65, 16, 4, 66, 8, 32, 67, 0, 8, 2, 2, 3, 512, 54, 1, 2, 5, 0, 8, 38, 32, 4, 3, 13109, 42, 2, 8, 1, 0, 15, 0, 512, 2, 6, 6, 7, 26, 1, 1, 28, 0, 4, 16, 2097152, 26, 16, 2, 2, 16, 1, 2, 2, 5, 2, 1, 40, 1, 0, 2, 2, 1, 3, 1, 3, 17, 16, 8, 78, 203, 0, 4, 0, 4, 2, 256, 4, 32, 256, 14000, -1, 13, 65620, 1, 2, 7, 1, 10, 2048, 4, 24, 4, 1, 7, 65538, 1, 268435456, 1, 7, 3, 8, 4, 0, 5, 16, 6, 1, 3, 3, 20, 46, 1, 27, 4, 2, 0, 8, 11, 2, 8, 25, 3, 0, 2, 2, 5, 1, 1, 2, 1, 29, 128, 4, 268435456, 43, 2, 82, 65537, 79, 80, 1, 3, 32, 81, 10, 75, 22, 11, 76, 25, 12, 1, 53, 77, 13, 71, 0, 14, 4, 72, 15, 4, 54, 73, 4099, 56, 1, 0, 30, 8, 59, 3, 256, 2, 32, 1, 4, 2, 2, 4, 1, 562, 4, 0, 1, 18, 2, 1, 1, 1, 2, 2, 1024, 8, 1, 1, 0, 16, 1, 1, 1, 29, 65535, 1, 8, 2147483651, 1, 2, 8, 201, 1, 3, 8388608, 16, 2, 2, 1, 0, 4, 0, 4, 6, 5, 3, 131072, 2, 1, 128, 0, 1, 36, 1, 4, 207, 64, 8, 8, 92, 4, 1, 2, 1, 1281, 4, 16, 2, 2000, 1, -3, 512, 5, -1, 1, 65536, 7, 1, 8, 3, 0, 1, 1, 1, 5, 16, 4, 2, -2, 3, 1, 32, 13, 256, 3, 0, 4, 1179011412, 2, 12, 2, 17, 1, 3, 5, 1, 512, 1, 2, 8, 5, 1, 4, 4, 2, 6, 1, 3, 8192, 8, 0, 3, 13113, 11, 2, 32, 64, 65548, 5, 1, 0, 4, 6, 2, 0, 4, 21, 9, 11, 0, 1, 15, 2, 4, 200, 134217728, 2, 9, 1, 1, 10, 2, 1, 68, 2, 13115, 87, 13172736, 88, 512, 2, 6, 8, 40, 3, 1, 2, 1, 1, 0, 9, 536870912, 109, 1, 64, 2, 11, 1, 2, 3, 268435456, 4, 5262658, 5, 1, 6, 7, 2, 8, 2, 9, 9, 10, 80, 90, 9, 2, 2, 1, 131072, -5, 256, -1, -1, 8, 1, 1, 2, 211, 66, 16, 2, 2, 2, 4, 12582912, 4, 8, 2, 4, 1546523100, 2, 256, 1261588554, 2, 2, 512, 768, 1, 4, 13, 64, 4, 2, 21, 65543, 0, 3, 9, 7, 1, 30, 8, 48, 46, 6, 32, 256, 0, 17, 0, 18, 33, 0, 34, 65622, 1, 2, 35, 23, 2, 3, 36, 3, 5, 14, 37, 38, 6, 2, 50, -2, 7, 49, 74, 24, 2, 5, 2, 25, -1, 2, 1, 16, 0, 19, 31, 8, 20, 0, 22, 55, 47, 197, 2, 0, 17, 45, 1, 2, 21, 44, 4, 128, 52, -1, 1, 0, 2, 2, 3, 8, 1, 6, 15, 4, 3, 1
   EndDataSection
   
EndProcedure


zB kann man so die gefeuerten Events oder EventTypes bei einem WindowEvent oder EventType namentlich erhalten:
Code:

; Bitte hier den Code von oben einfügen!

Enumeration
   #Window
   #Gadget
EndEnumeration

OpenWindow(#Window, 0, 0, 800, 450, "Vector Canvas Gadget", #PB_Window_MaximizeGadget|#PB_Window_MaximizeGadget|#PB_Window_SizeGadget|#PB_Window_ScreenCentered)
CanvasGadget(#Gadget, 0, 0, WindowWidth(#Window), WindowHeight(#Window), #PB_Canvas_Keyboard)
SetActiveGadget(#Gadget)

Repeat
   
   Select WaitWindowEvent()
      Case #PB_Event_CloseWindow
         Break
      Case #PB_Event_Gadget
         Select EventType()
            Case #PB_EventType_KeyDown, #PB_EventType_KeyUp
               Debug ConstantName(EventType(), "EventType_") + "  with  " + ConstantName(GetGadgetAttribute(#Gadget, #PB_Canvas_Key), "Shortcut_")
            Default
               Debug ConstantName(EventType(), "EventType_")
         EndSelect
   EndSelect
   
ForEver

End


Wer die Liste an Konstanten aktuell halten will, kann mit diesem Code hier alle Konstanten vom Compiler lesen (wobei ich mich hier auf die PB-Konstanten beschränkt, kann aber natürlich auf alle erweitert werden):
Code:
Compiler = RunProgram(#PB_Compiler_Home+"/Compilers/pbcompiler", "/STANDBY", "", #PB_Program_Open | #PB_Program_Read|#PB_Program_Write)
WriteProgramStringN(Compiler, "CONSTANTLIST")
WriteProgramStringN(Compiler, "END")

Define Names.s
Define Values.s

While ProgramRunning(Compiler)
   If AvailableProgramOutput(Compiler)
      Line.s = ReadProgramString(Compiler)
      If Left(StringField(Line, 2, #TAB$), 3) = "PB_"
         Select StringField(Line, 1, #TAB$)
            Case "0"
               If Names : Names + ", " : EndIf
               Names + #DQUOTE$ + StringField(Line, 2, #TAB$) + #DQUOTE$
               If Values : Values + ", " : EndIf
               Values + StringField(Line, 3, #TAB$)
         EndSelect
      EndIf
   EndIf
Wend

Debug "StringData:"
Debug "Data.s "+Names
Debug "ValueData:"
Debug "Data.q "+Values

_________________
Bild
 
BildBildBild


Zuletzt geändert von STARGÅTE am 03.01.2019 15:13, insgesamt 1-mal geändert.

Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags: Re: ConstantName() - Mögliche Konstantennamen zu einem Wert
BeitragVerfasst: 03.01.2019 15:06 
Offline
Moderator
Benutzeravatar

Registriert: 05.10.2006 18:55
Wohnort: Rupture Farms
:allright:

_________________
BildBildBildBildBildBild


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 2 Beiträge ] 

Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 8 Gäste


Sie dürfen keine neuen Themen in diesem Forum erstellen.
Sie dürfen keine Antworten zu Themen in diesem Forum erstellen.
Sie dürfen Ihre Beiträge in diesem Forum nicht ändern.
Sie dürfen Ihre Beiträge in diesem Forum nicht löschen.

Suche nach:
Gehe zu:  

 


Powered by phpBB © 2008 phpBB Group | Deutsche Übersetzung durch phpBB.de
subSilver+ theme by Canver Software, sponsor Sanal Modifiye