Jump to content


kake_fisk

Member Since 16 Nov 2005
Offline Last Active Yesterday, 04:50 PM

Posts I've Made

In Topic: Sacred Water Games

03 August 2012 - 12:21 AM

Thanks. I've added some new games and applications now. A room escape game, Daff's Adventure 2 and HyperPage 2.0.

In Topic: Hyperpage 2.0

03 August 2012 - 12:01 AM

HyperPage 2.0 has now been released! I've gotten far better at HTML and web development, so the new version is much more modern. I haven't added any HTML5 elements though.


@The Scorpion
Thank you. But the feature you are suggesting is called an WYSIWIG editor and that's absolutely what I didn't want this editor to be, so sorry.

In Topic: Count lines in a text file

18 June 2011 - 12:54 PM

Ah, thank you.

In Topic: C++ DLL tutorial

05 October 2010 - 09:28 PM

Thank you.

In Topic: Get the path of a file

02 October 2010 - 06:55 PM

Sorry, I explained very bad. I have a open file dialog which returns the full path of a file. That means the path, the filename and the extension. I want to remove the filename and the extension.

C:\Folder\File.ext -> C:\Folder\

But I figured it out myself. Here's my code:
filename = argument0;
path = "";
if (file_exists(filename))
{
	length = string_length(filename);
	i = length;
	do
	{
    	i -= 1;
	}
	until (string_char_at(filename,i) == "\")
	path = string_copy(filename,0,length-(length-i));
}
return path;

But if somebody know about a better way, please tell me.