<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Anfängerfrage : Unterschied C++ und Borland ????]]></title><description><![CDATA[<p>Hi !</p>
<p>Ich bin ein absolut unwissender in Programmiersprachen !</p>
<p>Wir sind ne große Digitaldruckerei mit ner Beta-Maschine von 2001 !<br />
Upgrades bekommen wir nicht mehr, da unsere Maschine angeblich in BORLAND programmiert wurde und alle neuen Maschinen nun in C++ programmiert wurden !</p>
<p>Ich habe mir die neuen Scripts zuschicken lassen, aber für mich sieht das quasi gleich aus ! Hier einmal ein Auszug:</p>
<p>ALT, angeblich BORLAND:</p>
<p>Private:EnableDevice()<br />
////////////////////////////////////////////////////////////////////////////////<br />
// 1. Enable/Disable a General Device. //<br />
// Cation ! When using Can Devices, only switches &amp; detectors are sppurted. //<br />
////////////////////////////////////////////////////////////////////////////////</p>
<p>{<br />
Enable DEVICE = ENABLE_DEVICE_NAME,<br />
ENABLE_FLAG = ENABLE_FLAG;<br />
}</p>
<p>Private:OperateByDerectorAct()<br />
////////////////////////////////////////////////////////////////////////////<br />
// Operate by detector action. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
OperateByDetector DEVICE = OPERATE_SWITCH_NAME ,<br />
DO_ON = OPERATION_TYPE_FLAG , DETECTOR_NAME = DETECTOR_NAME ,<br />
DETECTOR_STATE = DETECTOR_STATE , DELAY_MSEC = DELAY_MSEC , ACTIVE_FLAG = ACTIVE_FLAG ,<br />
RET_VAL_VARIABLE_NAME = OpWasSet;<br />
}</p>
<p>Private:ShutDown() // Shut Down Function<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Shut off conveyer. //<br />
// 2. //Reset XY Controller. //<br />
// 3. Shut off circulation. //<br />
// 4. Run Machine Off. //<br />
// 5. Close Valves. //<br />
// 6. Run Capping. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
//2. Reset XY Controller.<br />
//RunFunction ResetXY();</p>
<p>//3. Shut off circulation.<br />
RunMethod IO_OBJECT_NAME = Shaldag,<br />
METHOD_NAME = RunSetMemberValue,<br />
METHOD_PARAMS_LIST={&quot;CirculationMode&quot;, CIRCULATION_FORCE_OFF};</p>
<p>SwitchOff SWITCH_NAME = Circulation_Pump_Cyan;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Magenta;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Yellow;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Black;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_LCyan;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_LMagenta;</p>
<p>//4. Run Machine Off.<br />
RunFunction MachineOff();</p>
<p>//5. Close Valves.<br />
RunFunction CloseAllValves();</p>
<p>//6. Run Capping.<br />
RunFunction RunCapping();</p>
<p>}</p>
<p>Private:ResetButtons()<br />
///////////////////////////////////////////////////////////////////////////////<br />
// 1. Reaset Buttons //<br />
///////////////////////////////////////////////////////////////////////////////<br />
{<br />
RunMethod IO_OBJECT_NAME=Shaldag,<br />
METHOD_NAME=RunSendUpdateLogMsg,<br />
METHOD_PARAMS_LIST={RELEASE_ALL_BUTTONS, 0};<br />
}</p>
<p>Private:Pow2()<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Return power 2 of a color index. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
Set value = 1;<br />
For (num = 0 ; num &lt; color_index ; num = num + 1)<br />
{<br />
Set value = value * 2;<br />
}<br />
Return value ;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorByIndex()<br />
{<br />
Set color_ref = &quot;color_name&quot; ;<br />
GetColorName DEVICE = Shaldag, COLOR = color_index, RET_VAL_VARIABLE_NAME = color_ref;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color external name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorExternalByIndex()<br />
{<br />
Set color_external_ref = &quot;color_external_name&quot; ;<br />
GetColorExternalName DEVICE = Shaldag, COLOR = color_index, RET_VAL_VARIABLE_NAME = color_external_ref;<br />
}</p>
<p>Neue Scripts, angeblich C++:</p>
<p>Private:EnableShaldagDevice()<br />
////////////////////////////////////////////////////////////////////////////////<br />
// 1. Enable/Disable a General Device. //<br />
// Cation ! When using Can Devices, only switches &amp; detectors are sppurted. //<br />
////////////////////////////////////////////////////////////////////////////////</p>
<p>{<br />
Enable DEVICE = ENABLE_DEVICE_NAME,<br />
ENABLE_FLAG = ENABLE_FLAG;<br />
}</p>
<p>Private:OperateByDerectorAct()<br />
////////////////////////////////////////////////////////////////////////////<br />
// Operate by detector action. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
OperateByDetector DEVICE = OPERATE_DEVICE ,<br />
DO_ON = OPERATION_TYPE_FLAG , DETECTOR_NAME = DEVICE ,<br />
DETECTOR_STATE = DETECTOR_STATE , DELAY_MSEC = DELAY_MSEC , ACTIVE_FLAG = ACTIVE_FLAG ,<br />
RET_VAR = OpWasSet;<br />
}</p>
<p>Private:ShutDown() // Shut Down Function<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Shut off old circulation. //<br />
// 2. Run Machine Off. //<br />
// 3. Close Valves. //<br />
// 4. Run Capping. //<br />
// 5. Shut off new circulation. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
TRY=<br />
{<br />
LogText &quot;ShutDown in action...&quot;;</p>
<p>If (MACHINE_TYPE == S2S &amp;&amp; IS_DRYER)<br />
{<br />
AbortGlobalTask TASK_ID = s_DryerController;<br />
}</p>
<p>If ( IS_R2R_DELTA_DRYER &amp;&amp; (MACHINE_TYPE == R2R) )<br />
{<br />
RunFunction DeltaPlateOff();<br />
RunFunction DeltaDryerOff();<br />
}</p>
<p>RunMethod DEVICE = XyController, METHOD_NAME = RunResetXY , LOCK_DEVICE=FALSE;</p>
<p>//1. Shut off circulation.<br />
If ( (!NewBellowSystem) &amp;&amp; (!s_TitanicInkSystem) )<br />
{<br />
RunMethod DEVICE = Shaldag,<br />
METHOD_NAME = RunSetMemberValue,<br />
METHOD_PARAMS_LIST={&quot;CirculationMode&quot;, CIRCULATION_FORCE_OFF};</p>
<p>SwitchOff DEVICE = Circulation_Pump_Cyan;<br />
SwitchOff DEVICE = Circulation_Pump_Magenta;<br />
SwitchOff DEVICE = Circulation_Pump_Yellow;<br />
SwitchOff DEVICE = Circulation_Pump_Black;<br />
SwitchOff DEVICE = Circulation_Pump_LCyan;<br />
SwitchOff DEVICE = Circulation_Pump_LMagenta;<br />
}</p>
<p>//6. Shut off new circulation.<br />
If (NewBellowSystem)<br />
{<br />
RunFunction CirculationOffAll();<br />
}</p>
<p>If ( s_TitanicInkSystem )<br />
{<br />
RunScript FUNCTION = TitanicInkSystemShutdown ;<br />
}</p>
<p>//2. Run Machine Off.<br />
RunFunction MachineOff();</p>
<p>//3. Close Valves.<br />
RunFunction CloseAllValves();</p>
<p>//4. Run Capping.<br />
RunFunction RunCapping();</p>
<p>LogText &quot;Shutdown done&quot;;<br />
}<br />
CATCH=<br />
{<br />
Warning &quot;Shut down exception&quot;;<br />
ResetCatch;</p>
<p>}<br />
}</p>
<p>Private:ResetButtons()<br />
///////////////////////////////////////////////////////////////////////////////<br />
// 1. Reaset Buttons //<br />
///////////////////////////////////////////////////////////////////////////////<br />
{<br />
RunMethod DEVICE=Shaldag,<br />
METHOD_NAME=RunSendUpdateLogMsg,<br />
METHOD_PARAMS_LIST={RELEASE_ALL_BUTTONS, 0};<br />
}</p>
<p>Private:Pow2()<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Return power 2 of a color index. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
Set value = 1;<br />
For (num = 0 ; num &lt; color_index ; num = num + 1)<br />
{<br />
Set value = value * 2;<br />
}<br />
Return value ;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorByIndex()<br />
{<br />
Set color_ref = &quot;color_name&quot; ;<br />
GetColorName DEVICE = Shaldag, COLOR = color_index, RET_VAR = color_ref;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color external name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorExternalByIndex()<br />
{<br />
Set color_external_ref = &quot;color_external_name&quot; ;<br />
GetColorExternalName DEVICE = Shaldag, COLOR = color_index, RET_VAR = color_external_ref;<br />
}</p>
<p><a href="http://www.c-plusplus.net/forum/images/smiles/confused.gif" rel="nofollow">http://www.c-plusplus.net/forum/images/smiles/confused.gif</a><br />
Könntet Ihr mir sagen ob das wirklich 2 verschiedene Programmiersprachen sind ?</p>
<p>Für mich sieht das quasi gleich aus, aber ich will nicht einfach die neuen Scripts einfügen und die Maschine zerstören !<a href="http://www.c-plusplus.net/forum/images/smiles/warning.gif" rel="nofollow">http://www.c-plusplus.net/forum/images/smiles/warning.gif</a></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/124983/anfängerfrage-unterschied-c-und-borland</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 03:33:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/124983.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Nov 2005 13:33:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfängerfrage : Unterschied C++ und Borland ???? on Wed, 02 Nov 2005 13:33:46 GMT]]></title><description><![CDATA[<p>Hi !</p>
<p>Ich bin ein absolut unwissender in Programmiersprachen !</p>
<p>Wir sind ne große Digitaldruckerei mit ner Beta-Maschine von 2001 !<br />
Upgrades bekommen wir nicht mehr, da unsere Maschine angeblich in BORLAND programmiert wurde und alle neuen Maschinen nun in C++ programmiert wurden !</p>
<p>Ich habe mir die neuen Scripts zuschicken lassen, aber für mich sieht das quasi gleich aus ! Hier einmal ein Auszug:</p>
<p>ALT, angeblich BORLAND:</p>
<p>Private:EnableDevice()<br />
////////////////////////////////////////////////////////////////////////////////<br />
// 1. Enable/Disable a General Device. //<br />
// Cation ! When using Can Devices, only switches &amp; detectors are sppurted. //<br />
////////////////////////////////////////////////////////////////////////////////</p>
<p>{<br />
Enable DEVICE = ENABLE_DEVICE_NAME,<br />
ENABLE_FLAG = ENABLE_FLAG;<br />
}</p>
<p>Private:OperateByDerectorAct()<br />
////////////////////////////////////////////////////////////////////////////<br />
// Operate by detector action. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
OperateByDetector DEVICE = OPERATE_SWITCH_NAME ,<br />
DO_ON = OPERATION_TYPE_FLAG , DETECTOR_NAME = DETECTOR_NAME ,<br />
DETECTOR_STATE = DETECTOR_STATE , DELAY_MSEC = DELAY_MSEC , ACTIVE_FLAG = ACTIVE_FLAG ,<br />
RET_VAL_VARIABLE_NAME = OpWasSet;<br />
}</p>
<p>Private:ShutDown() // Shut Down Function<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Shut off conveyer. //<br />
// 2. //Reset XY Controller. //<br />
// 3. Shut off circulation. //<br />
// 4. Run Machine Off. //<br />
// 5. Close Valves. //<br />
// 6. Run Capping. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
//2. Reset XY Controller.<br />
//RunFunction ResetXY();</p>
<p>//3. Shut off circulation.<br />
RunMethod IO_OBJECT_NAME = Shaldag,<br />
METHOD_NAME = RunSetMemberValue,<br />
METHOD_PARAMS_LIST={&quot;CirculationMode&quot;, CIRCULATION_FORCE_OFF};</p>
<p>SwitchOff SWITCH_NAME = Circulation_Pump_Cyan;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Magenta;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Yellow;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_Black;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_LCyan;<br />
SwitchOff SWITCH_NAME = Circulation_Pump_LMagenta;</p>
<p>//4. Run Machine Off.<br />
RunFunction MachineOff();</p>
<p>//5. Close Valves.<br />
RunFunction CloseAllValves();</p>
<p>//6. Run Capping.<br />
RunFunction RunCapping();</p>
<p>}</p>
<p>Private:ResetButtons()<br />
///////////////////////////////////////////////////////////////////////////////<br />
// 1. Reaset Buttons //<br />
///////////////////////////////////////////////////////////////////////////////<br />
{<br />
RunMethod IO_OBJECT_NAME=Shaldag,<br />
METHOD_NAME=RunSendUpdateLogMsg,<br />
METHOD_PARAMS_LIST={RELEASE_ALL_BUTTONS, 0};<br />
}</p>
<p>Private:Pow2()<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Return power 2 of a color index. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
Set value = 1;<br />
For (num = 0 ; num &lt; color_index ; num = num + 1)<br />
{<br />
Set value = value * 2;<br />
}<br />
Return value ;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorByIndex()<br />
{<br />
Set color_ref = &quot;color_name&quot; ;<br />
GetColorName DEVICE = Shaldag, COLOR = color_index, RET_VAL_VARIABLE_NAME = color_ref;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color external name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorExternalByIndex()<br />
{<br />
Set color_external_ref = &quot;color_external_name&quot; ;<br />
GetColorExternalName DEVICE = Shaldag, COLOR = color_index, RET_VAL_VARIABLE_NAME = color_external_ref;<br />
}</p>
<p>Neue Scripts, angeblich C++:</p>
<p>Private:EnableShaldagDevice()<br />
////////////////////////////////////////////////////////////////////////////////<br />
// 1. Enable/Disable a General Device. //<br />
// Cation ! When using Can Devices, only switches &amp; detectors are sppurted. //<br />
////////////////////////////////////////////////////////////////////////////////</p>
<p>{<br />
Enable DEVICE = ENABLE_DEVICE_NAME,<br />
ENABLE_FLAG = ENABLE_FLAG;<br />
}</p>
<p>Private:OperateByDerectorAct()<br />
////////////////////////////////////////////////////////////////////////////<br />
// Operate by detector action. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
OperateByDetector DEVICE = OPERATE_DEVICE ,<br />
DO_ON = OPERATION_TYPE_FLAG , DETECTOR_NAME = DEVICE ,<br />
DETECTOR_STATE = DETECTOR_STATE , DELAY_MSEC = DELAY_MSEC , ACTIVE_FLAG = ACTIVE_FLAG ,<br />
RET_VAR = OpWasSet;<br />
}</p>
<p>Private:ShutDown() // Shut Down Function<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Shut off old circulation. //<br />
// 2. Run Machine Off. //<br />
// 3. Close Valves. //<br />
// 4. Run Capping. //<br />
// 5. Shut off new circulation. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
TRY=<br />
{<br />
LogText &quot;ShutDown in action...&quot;;</p>
<p>If (MACHINE_TYPE == S2S &amp;&amp; IS_DRYER)<br />
{<br />
AbortGlobalTask TASK_ID = s_DryerController;<br />
}</p>
<p>If ( IS_R2R_DELTA_DRYER &amp;&amp; (MACHINE_TYPE == R2R) )<br />
{<br />
RunFunction DeltaPlateOff();<br />
RunFunction DeltaDryerOff();<br />
}</p>
<p>RunMethod DEVICE = XyController, METHOD_NAME = RunResetXY , LOCK_DEVICE=FALSE;</p>
<p>//1. Shut off circulation.<br />
If ( (!NewBellowSystem) &amp;&amp; (!s_TitanicInkSystem) )<br />
{<br />
RunMethod DEVICE = Shaldag,<br />
METHOD_NAME = RunSetMemberValue,<br />
METHOD_PARAMS_LIST={&quot;CirculationMode&quot;, CIRCULATION_FORCE_OFF};</p>
<p>SwitchOff DEVICE = Circulation_Pump_Cyan;<br />
SwitchOff DEVICE = Circulation_Pump_Magenta;<br />
SwitchOff DEVICE = Circulation_Pump_Yellow;<br />
SwitchOff DEVICE = Circulation_Pump_Black;<br />
SwitchOff DEVICE = Circulation_Pump_LCyan;<br />
SwitchOff DEVICE = Circulation_Pump_LMagenta;<br />
}</p>
<p>//6. Shut off new circulation.<br />
If (NewBellowSystem)<br />
{<br />
RunFunction CirculationOffAll();<br />
}</p>
<p>If ( s_TitanicInkSystem )<br />
{<br />
RunScript FUNCTION = TitanicInkSystemShutdown ;<br />
}</p>
<p>//2. Run Machine Off.<br />
RunFunction MachineOff();</p>
<p>//3. Close Valves.<br />
RunFunction CloseAllValves();</p>
<p>//4. Run Capping.<br />
RunFunction RunCapping();</p>
<p>LogText &quot;Shutdown done&quot;;<br />
}<br />
CATCH=<br />
{<br />
Warning &quot;Shut down exception&quot;;<br />
ResetCatch;</p>
<p>}<br />
}</p>
<p>Private:ResetButtons()<br />
///////////////////////////////////////////////////////////////////////////////<br />
// 1. Reaset Buttons //<br />
///////////////////////////////////////////////////////////////////////////////<br />
{<br />
RunMethod DEVICE=Shaldag,<br />
METHOD_NAME=RunSendUpdateLogMsg,<br />
METHOD_PARAMS_LIST={RELEASE_ALL_BUTTONS, 0};<br />
}</p>
<p>Private:Pow2()<br />
////////////////////////////////////////////////////////////////////////////<br />
// 1. Return power 2 of a color index. //<br />
////////////////////////////////////////////////////////////////////////////<br />
{<br />
Set value = 1;<br />
For (num = 0 ; num &lt; color_index ; num = num + 1)<br />
{<br />
Set value = value * 2;<br />
}<br />
Return value ;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorByIndex()<br />
{<br />
Set color_ref = &quot;color_name&quot; ;<br />
GetColorName DEVICE = Shaldag, COLOR = color_index, RET_VAR = color_ref;<br />
}</p>
<p>////////////////////////////////////////////////////////////////////////////<br />
// 1. Get the color external name when a color index is givven. //<br />
////////////////////////////////////////////////////////////////////////////<br />
Private:GetColorExternalByIndex()<br />
{<br />
Set color_external_ref = &quot;color_external_name&quot; ;<br />
GetColorExternalName DEVICE = Shaldag, COLOR = color_index, RET_VAR = color_external_ref;<br />
}</p>
<p><a href="http://www.c-plusplus.net/forum/images/smiles/confused.gif" rel="nofollow">http://www.c-plusplus.net/forum/images/smiles/confused.gif</a><br />
Könntet Ihr mir sagen ob das wirklich 2 verschiedene Programmiersprachen sind ?</p>
<p>Für mich sieht das quasi gleich aus, aber ich will nicht einfach die neuen Scripts einfügen und die Maschine zerstören !<a href="http://www.c-plusplus.net/forum/images/smiles/warning.gif" rel="nofollow">http://www.c-plusplus.net/forum/images/smiles/warning.gif</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/906431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906431</guid><dc:creator><![CDATA[KLdruck]]></dc:creator><pubDate>Wed, 02 Nov 2005 13:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage : Unterschied C++ und Borland ???? on Wed, 02 Nov 2005 13:38:21 GMT]]></title><description><![CDATA[<p>Nichts davon ist C++.</p>
<p>Und Borland ist nur eine Firma. Keine Programmiersprache.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/906439</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906439</guid><dc:creator><![CDATA[..............]]></dc:creator><pubDate>Wed, 02 Nov 2005 13:38:21 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage : Unterschied C++ und Borland ???? on Wed, 02 Nov 2005 13:51:49 GMT]]></title><description><![CDATA[<p>Das ist aber doof !</p>
<p>Dann haben mich die Israelis ja belogen ! Schweinerei ...</p>
<p>Kann mir denn jemand sagen was das ganze ist ? Wenn es nicht C++ ist ?</p>
<p>Vielen Dank !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/906451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/906451</guid><dc:creator><![CDATA[KLdruck]]></dc:creator><pubDate>Wed, 02 Nov 2005 13:51:49 GMT</pubDate></item></channel></rss>