[Gambas-user] Error in rev. #5473

Emil Lenngren emil.lenngren at ...626...
Sun Dec 30 03:29:52 CET 2012


Ah, smart ;)

2012/12/30 Benoît Minisini <gambas at ...1...>

> Le 30/12/2012 03:18, Emil Lenngren a écrit :
> > What's the point to be able to convert pointers to strings (take the
> > numerical value of the pointer)?
> > If I would like a string representation of a pointer I would at least
> want
> > it in hexadecimal form.
> > But I also think most people that convert pointers to strings want to get
> > the string out of a char* that points to a NULL-terminated string.
> >
> > /Emil
> >
>
> It's just some sort of shortcut: CStr(pointer) = CStr(CInt(pointer)) or
> CStr(CLong(pointer)) according to the size of the pointer.
>
> I found that logical, so that a Pointer can be directly used as a
> collection key.
>
> But I agree that using hexadecimal would be better.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list