Search found 28 matches

by fxm
Tue Jul 18, 2023 11:45 am
Forum: Suggestions
Topic: New website
Replies: 33
Views: 7814

New website

I'm unable to log in from my phone. I get this error when I select Login

Error: CB Login module not created (required).
 
by fxm
Wed Mar 01, 2023 3:38 pm
Forum: Product
Topic: Async question
Replies: 43
Views: 5817

Async question

<r><QUOTE author="wriedmann post=25454 userid=336"><s>[quote="wriedmann post=25454 userid=336"]</s>Hi Fergus,<br/> the problem stays in the fact that the async method cannot return anything other than a void or task value.<br/> If I can store the result in another place my code compiles without ...
by fxm
Wed Mar 01, 2023 2:54 pm
Forum: Product
Topic: Async question
Replies: 43
Views: 5817

Async question

<r><QUOTE author="wriedmann post=25446 userid=336"><s>[quote="wriedmann post=25446 userid=336"]</s> <CODE><s>[code]</s>public method Connect( cHostName as string, cUserName as string, cPassword as string ) as logic local lReturn as logic self:_Connect( cHostName, cUserName, cPassword ) lReturn ...
by fxm
Fri Dec 16, 2022 1:38 pm
Forum: Product
Topic: Named parameters for methods
Replies: 7
Views: 1860

Named parameters for methods

<r>Hi Robert,<br/> <br/> Thanks - that sounds good if it wasn't going to cause trouble. <br/> <br/> I would go with the last option. <br/> <br/> As an alternative, would an attribute be a runner?<br/> <CODE><s>[code]</s><i> </i>Foo([NamedParam]Param1 := "somevalue") <e>[/code]</e></CODE> <br ...
by fxm
Thu Dec 15, 2022 7:31 pm
Forum: Product
Topic: Named parameters for methods
Replies: 7
Views: 1860

Named parameters for methods

<t>Hey Meinhard,<br/> <br/> Thanks for that - have stared at that screen so many time but I guess I wasn't looking looking for named parameters then. <br/> <br/> Turned it on for the project I was working on and it worked great - it just happened to break a whole bunch of other stuff. <br/> <br ...
by fxm
Thu Dec 15, 2022 2:43 pm
Forum: Product
Topic: Named parameters for methods
Replies: 7
Views: 1860

Named parameters for methods

<r>Hey,<br/> <br/> Are named parameters possible in X#?<br/> <br/> C# Example: <CODE><s>[code]</s><i> </i>public static class Utils { public static string DoStuff(string Param1 = "one", string Param2 = "two", string Param3 = "three") { return Param1 + Param2 + Param3; } } <e>[/code]</e></CODE> Usage ...
by fxm
Sat Dec 10, 2022 7:49 am
Forum: Product
Topic: Accessing globals/defines from MCompile
Replies: 4
Views: 1546

Accessing globals/defines from MCompile

Fastastic, thanks Robert.

I look forward to trying it whenever it's ready.

Fergus
by fxm
Thu Dec 01, 2022 2:11 pm
Forum: Product
Topic: Accessing globals/defines from MCompile
Replies: 4
Views: 1546

Accessing globals/defines from MCompile

Ok, thanks for the explanation Robert!
by fxm
Thu Dec 01, 2022 11:21 am
Forum: Product
Topic: Accessing globals/defines from MCompile
Replies: 4
Views: 1546

Accessing globals/defines from MCompile

<r>Hi,<br/> <br/> Is there a way to compile a codeblock from a string at runtime that can access globals and defines?<br/> <br/> I've tried MCompile and creating an instance of XSharp.Runtime.MacroCompiler but can't seem to get it to work.<br/> <br/> Thanks,<br/> Fergus<br/> <CODE><s>[code]</s><i ...
by fxm
Fri Oct 14, 2022 12:32 pm
Forum: Chit-Chat
Topic: XSharp Power Tools - Visual Studio extension
Replies: 8
Views: 6174

XSharp Power Tools - Visual Studio extension

Finally got around to installing this. It's fantastic!

Thanks!