<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>5 Feb 2018 21:16:38 Z</lastBuildDate><pubDate>2 Apr 2005 11:46:00 Z</pubDate><description>Hello,&#13;
How can i create a class based on a name in a variable?&#13;
The "lClassName is class" gives a error &#13;
i have also tried "{lClassName} is class"&#13;
Here is some code&#13;
lListFile is string&#13;
lListFile = HListFile(hLstNormal)&#13;
lStringCount is int = StringCount(lListFile,RC)&#13;
lFileNumber is int&#13;
lFileName is string&#13;
lClassName is string&#13;
FOR lFileNumber = 1 TO lStringCount&#13;
lFileName = ExtractString(lListFile,lFileNumber,RC)&#13;
lClassName = "FM_"+lFileName&#13;
lClassName is class&#13;
Inherit from FileManager&#13;
END&#13;
END</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp</link><title>How to create a class based on a variable name?</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-64411/read.awp</comments><pubDate>5 Feb 2018 21:16:38 Z</pubDate><description>Hello J.,&#13;
&#13;
I know it is very long time ago, but did you ever solve this issue?&#13;
&#13;
I found some ways how to achieve this in c# …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-64411/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-64411/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>no</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3891/read.awp</comments><pubDate>4 Apr 2005 01:43:00 Z</pubDate><description>&gt;I think that we mis-understand each other... &#13;
&gt;I want to write a filemanager class for several file functions like&#13;
&gt;Next (wit…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3891/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3891/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>jflietstra</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3890/read.awp</comments><pubDate>3 Apr 2005 23:42:00 Z</pubDate><description>I think that we mis-understand each other... &#13;
I want to write a filemanager class for several file functions like&#13;
Next (with e…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3890/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3890/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>no</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3887/read.awp</comments><pubDate>3 Apr 2005 21:49:00 Z</pubDate><description>&gt;&gt;Next for each file you retrieved using hListFile(), you instantiate an instance of FileName.&#13;
&gt;&#13;
&gt;Here is my point!.... how ca…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3887/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3887/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>jflietstra</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3886/read.awp</comments><pubDate>3 Apr 2005 17:12:00 Z</pubDate><description>&gt;Next for each file you retrieved using hListFile(), you instantiate an instance of FileName.&#13;
&#13;
Here is my point!.... how can i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3886/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3886/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>rschuldhaus</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3879/read.awp</comments><pubDate>2 Apr 2005 20:54:00 Z</pubDate><description>Hi Jonathan,&#13;
IMO, you can do this using dynamic compile. See Compile and ExecuteProcess as a first step.&#13;
Regards&#13;
Raimund&#13;
&gt;He…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3879/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3879/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item><item><author>no</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3872/read.awp</comments><pubDate>2 Apr 2005 15:09:00 Z</pubDate><description>&gt;Hello,&#13;
&gt;How can i create a class based on a name in a variable?&#13;
&gt;The "lClassName is class" gives a error &#13;
&gt;i have also tried…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3872/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name-3872/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/3868-how-create-class-based-variable-name/read.awp">How to create a class based on a variable name?</source><title>Re: How to create a class based on a variable name?</title></item></channel></rss>
