messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Roger \r\n\r\nI don't think there is a limit on a ( (x)harbour ) variable.. reason I say that is that I am doing fread's and frwites to variables appending them or extracting them from sql tables.. and the size of the binary documents are in the hundreds of kilobytes and megabytes ..\r\n\r\nRick Lipkin", "time": "14:08", "topic": "Char string size limit still 64k?", "username": "Rick Lipkin" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Roger,\r\n\r\nWhether there is a limit or not, I don't know.\r\n\r\nIn FiveWin or Clipper 16 Bit, the limit was indeed 64K.\r\n\r\nIn Fivewin for Harbour/xHarbour the limit exceeds for sure 1 MB (I already used a variable containing more than 1 000 000 characters.", "time": "14:30", "topic": "Char string size limit still 64k?", "username": "driessen" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Memoread function in both Harbour and xHarbour can read text files larger than 64K. \r\n\r\nHowever functions like memoread and multiline Get seems have limitation of 32K", "time": "14:49", "topic": "Char string size limit still 64k?", "username": "nageswaragunupudi" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Roger,\r\n\r\nHere you have a working sample that shows that there is no limit (up to 4GB or available memory) for MemoRead():\r\n[code:1b70hycr]\nfunction Main()\n\n local cText := Replicate( \"This is a test\", 10000000 )\n\n MsgInfo( Len( cText ) )\n \n MemoWrit( \"test.txt\", cText )\n \n cText = \"\" // we empty the variable\n \n cText = MemoRead ( \"test.txt\" )\n \n MsgInfo( Len( cText ) )\n\nreturn nil\n[/code:1b70hycr]", "time": "16:34", "topic": "Char string size limit still 64k?", "username": "Antonio Linares" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Roger,[quote=\"Roger Seiler\":1rnrbp43]I had previously understood that in 32 bits we don't have the 64k size limit for a char string that we had in 16 bits. However, I saw in the xHarbour documentation for Memoread() that there still is a 64k size limit for a char string in xHarbour.[/quote:1rnrbp43]I just looke at our doc's at <!-- m --><a class=\"postlink\" href=\"http://www.xharbour.com/xhdn/referenceguide/index.asp?page=home&view=search&q=memoread&id=19161\">http://www.xharbour.com/xhdn/referenceg ... d&id=19161</a><!-- m --> but I can not see anything that says something about a limit. Where did you find the 4GB limit doc's?\r\n\r\nPatrick", "time": "17:29", "topic": "Char string size limit still 64k?", "username": "Patrick Mast" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\n4GB is the max amount of memory that can be addressed in 32 bits. Its not a Harbour limitation. Its a 32 bits architecture limitation.\r\n\r\nSuch limit does not exist in 64 bits, but again, it has another limit, though much higher.", "time": "18:42", "topic": "Char string size limit still 64k?", "username": "Antonio Linares" } ]
Char string size limit still 64k?
[ { "date": "2008-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio and others for your replies, which were reassuring.\r\n\r\nPatrick, here is a quote from the \\xhb\\cod\\xHarbour.chm functions section, the topic on Memoread()...\r\n\r\n\"• Return value:\r\nMEMOREAD() returns the contents of a text file as a character string. The maximum file size that can be read is 65,535 characters (64K) -- the maximum size of a character string. If <cFile> cannot be found, MEMOREAD() returns a null string (\"\"). \"\r\n\r\nSo, I think that this text apparently needs to be corrected. But it's not at all surprising that in such a large help file, there may be just a few things that are a little off. On the whole, I know that the xHb documentation was a huge effort done very carefully.\r\n\r\n- Roger", "time": "18:44", "topic": "Char string size limit still 64k?", "username": "Roger Seiler" } ]
Char string size limit still 64k?
[ { "date": "2008-06-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Mystery solved. I was inadvertently looking at an obsolete version of the xHb help file. I actually have the current version of it here, but because it had a different file name than the old, it didn't overwrite the old when I updated. The current version does indeed have the correct information, in that the explanation for Memoread() makes no mention of any text size limit.\r\n\r\nSorry to waste everybody's time on this! I just need to pay more attention to the file date (in the name) when I open it up.\r\n\r\n- Roger", "time": "00:15", "topic": "Char string size limit still 64k?", "username": "Roger Seiler" } ]
Char string size limit still 64k?
[ { "date": "2008-06-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Roger Seiler\":2kz6tjrt]Mystery solved. I was inadvertently looking at an obsolete version of the xHb help file.[/quote:2kz6tjrt]Ok! Thanks for the feedback Roger!\r\n\r\n<!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\r\n\r\nPatrick", "time": "08:26", "topic": "Char string size limit still 64k?", "username": "Patrick Mast" } ]
Char string size limit still 64k?
[ { "date": "2008-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\r\n\r\nTeneis alguna rutina de conversion de caracter a numerico para este formato ?\r\n\r\n1.0000000000000000E+03NUM\r\n5.2050000000000000E+02NUM\r\n...\r\n\r\nGracias", "time": "11:04", "topic": "Char to numeric", "username": "Carles" } ]
Char to numeric
[ { "date": "2008-11-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Carles,\r\n\r\nesa es, si no me equivoco, notacion científica.\r\n\r\n5.2050000000000000E+02NUM puede traducirse como \r\n5.205 x 10 ^ 2 = 5.205 x 100 = 520.5\r\n\r\nla E puede traducirse como x 10 ^\r\n\r\nentonces num = Val( left( string, pos( string, 'E' )-1) ) x 10 ^ Val( substr( string, pos( string, 'E' ) + 1 )\r\n\r\nojo que el exponente tambien puede ser negativo, o sea\r\n\r\n1.0000000000000E-02NUM puede traducirse como \r\n1.0000 x 10 ^ -2 = 1.0000 x 0.01 = 0.01\r\n\r\n\r\nUn saludo,\r\n\r\nCarlos.\r\n\r\nPD: ¿Cuando hacemos la segunda reunión?", "time": "15:46", "topic": "Char to numeric", "username": "Carlos Mora" } ]
Char to numeric
[ { "date": "2008-11-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\r\n\r\nGracias, lo voy a probar. \r\n\r\n[code:2askvw2o]PD&#58; ¿Cuando hacemos la segunda reunión?[/code:2askvw2o]\r\n\r\nJejeje, yo ya la haria mañana mismo, peroooo ya ves q o lo hacemos con un recalenton o no va... <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> Espero, nos podamos reunir pronto\r\n\r\nSaludotes.", "time": "15:52", "topic": "Char to numeric", "username": "Carles" } ]
Char to numeric
[ { "date": "2008-11-04", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Carles\":3j3ptat5]\nJejeje, yo ya la haria mañana mismo, peroooo ya ves q o lo hacemos con un recalenton o no va... <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->\n[/quote:3j3ptat5]\r\nLa verdad, si no es un arranque de furia no funciona <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\r\nYa se me está poniendo viejo el tema que tenía preparado... \r\nA ver si reactivamos el tema.\r\n\r\nUn abrazo,\r\n\r\nCarlos.", "time": "16:16", "topic": "Char to numeric", "username": "Carlos Mora" } ]
Char to numeric
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\r\n\r\nYa puestos... La operacion inversa como la harias, es decir:\r\n\r\n520.5 -> Pasarlo a 5.2050000000000000E+02NUM\r\n\r\nGracias", "time": "07:56", "topic": "Char to numeric", "username": "Carles" } ]
Char to numeric
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Ahí habría que ser más preciso con las especificaciones de la representación. Normalmente te viene dada la cantidad de dígitos tanto del exponente como de la mantisa. En ciencias la mantisa tiene 1 entero, pero en informática está entre 0 y 1\r\n\r\nDeduciendo lo que escribiste, aparentemente la representación que usas es una mantisa > 1 y < 10, con 2 dígios de exponente con signo. No se vé previsión para el signo de la mantisa, y el prefijo NUM no sé que significado puede tener, pero no tiene una aplicación general, debe ser algo específico a tu aplicación.\r\n\r\nNum2Sci( nNumero )\r\nnExp:= 0\r\nnMantisa:= nNumero\r\n\r\nWhile Abs( nMantisa ) > 10 \r\n nExp ++\r\n nMantisa /= 10\r\nEndDo\r\n\r\nWhile Abs( nMantisa ) < 1 \r\n nExp --\r\n nMantisa *= 10\r\nEndDo\r\n\r\nReturn StrTran( Str( nMantisa, 12, 10 ) + 'E' +Str(nExp,3), ' ', '+' )\r\n\r\nLo del return lo ajustas a las especificaciones que te den, igual que añadirle el 'NUM' al final.\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://es.wikipedia.org/wiki/Notaci%C3%B3n_cient%C3%ADfica\">http://es.wikipedia.org/wiki/Notaci%C3% ... %C3%ADfica</a><!-- m -->\r\n\r\nun saludo,\r\n\r\nCarlos", "time": "08:21", "topic": "Char to numeric", "username": "Carlos Mora" } ]
Char to numeric
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\r\n\r\nCarai colega. La explicacion vale una cervecita la próxima.\r\n\r\nSaludotes.\r\nC.", "time": "08:59", "topic": "Char to numeric", "username": "Carles" } ]
Char to numeric
[ { "date": "2008-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nIs there any function for xHarbour in order to transform all strings accordingly to a pre defined type ANSI or OEM ?\n\nAntonio", "time": "17:25", "topic": "Char type Ansi/Oem", "username": "AHF" } ]
Char type Ansi/Oem
[ { "date": "2008-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Did you mean\n\n[code:3d5m33m0]HB_OEMTOANSI&#40;&#41;\nHB_ANSITOOEM&#40;&#41;[/code:3d5m33m0]\n\n?\n\nEMG", "time": "19:26", "topic": "Char type Ansi/Oem", "username": "Enrico Maria Giordano" } ]
Char type Ansi/Oem
[ { "date": "2008-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I mean if there is one function to change automaticly the way strings are handled by all rotines in the application.\n\nAntonio", "time": "20:00", "topic": "Char type Ansi/Oem", "username": "AHF" } ]
Char type Ansi/Oem
[ { "date": "2008-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I don't know, sorry.\n\nEMG", "time": "20:29", "topic": "Char type Ansi/Oem", "username": "Enrico Maria Giordano" } ]
Char type Ansi/Oem
[ { "date": "2016-12-21", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have a Sql Primary key value that is char(18) .. When I generate a random key I sometimes get a value like this with leading and trailing spaces .. and that is fine.\n[code=fw:tdo05ny8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />aEmp := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />cName := <span style=\"color: #ff0000;\">\"Rick Lipkin\"</span><br />cEid     := <span style=\"color: #ff0000;\">\"     12345678    \"</span>    <br /><br />AAdd<span style=\"color: #000000;\">&#40;</span> aEmp, <span style=\"color: #000000;\">&#123;</span>cName,cEid<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:tdo05ny8]\n\nWhen I go to load the above character value cEid into an array the char value is truncated and loads as a left justified value .. similar to :\n\n[code=fw:tdo05ny8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />       A                 B<br />|Rick Lipkin    |<span style=\"color: #000000;\">12345678</span>      |<br /> </div>[/code:tdo05ny8]\n\nIs there a way to initialize the array to accept the 'exact' value I am loading to the array element ?\n\nThanks\nRick Lipkin", "time": "18:28", "topic": "Char values automatically left justified building an array", "username": "Rick Lipkin" } ]
Char values automatically left justified building an array
[ { "date": "2016-12-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:78vclbu0]When I go to load the above character value cEid into an array the char value is truncated and loads as a left justified value[/quote:78vclbu0]\nNo. The value is not trimmed. Please check again.", "time": "04:51", "topic": "Char values automatically left justified building an array", "username": "nageswaragunupudi" } ]
Char values automatically left justified building an array
[ { "date": "2010-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "I am using an old version of FWH (2.8 Sep 2006) and have just upgraded xHb to latest 1.2.1 (Rev 6726)\n\nGet the following;\nxLINK: error: Unresolved external symbol '_HB_FUN_CHARTOOEMA referenced from fivehmx.lib(database.obj)'.\nxLINK: error: Unresolved external symbol '_HB_FUN_OEMTOCHARA referenced from fivehmx.lib(database.obj)'.\n\nI can't find any reference to these functions except in winten.h (#define CharToOemA _CharToOemA)\n\nAbout one of the only things I changed was to swap FWH's winapi.ch to xHb's winuser.ch in the fivewin.ch to resolve numerous undefines\n\nAnyone have any ideas \n\nThanks\nLen", "time": "12:42", "topic": "CharToOemA / OemToCharA", "username": "lenk" } ]
CharToOemA / OemToCharA
[ { "date": "2012-03-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello, \n\nIs it possible to search for characrters within a ComboBox for example, if user types chacters CT it move to CTN instead of moving to TUB (first item that begins with T). I tried the following code with no luck.\n\nREDEFINE COMBOBOX aGet[5] VAR cUnit ID 105 ITEMS aUnit OF oDlg STYLE CBS_DROPDOWN <<<-------- I JUST ADDED THIS AND HAD NO EFFECT EITHER.\n aGet[5]:oGet:bKeyDown = { | nKey | ComboSearchItem( nKey, aGet[5] ) }\n\n//----------------------------------------------------------------------------//\nfunction ComboSearchItem( nKey, oCbx )\n\n local nAt\n\n if Len( AllTrim( oCbx:oGet:GetText() ) ) == 1\n if ( nAt := AScan( oCbx:aItems, { | c | Left( c, 1 ) == AllTrim( oCbx:oGet:GetText() ) } ) ) != 0\n oCbx:oGet:SetText( oCbx:aItems[ nAt ] )\n return 0\n endif\n endif\n\n return nKey", "time": "17:34", "topic": "Character Search within ComboBox", "username": "cdmmaui" } ]
Character Search within ComboBox
[ { "date": "2012-03-09", "forum": "FiveWin for Harbour/xHarbour", "text": "try this:\n\n\n@ 1 , 1 COMBOBOX oCombo VAR cCombo OF oDLG ITEMS aItems STYLE CBS_DROPDOWN SIZE 100 , 200\n@ 1 , 20 GET oGet VAR cGet OF oDlg\n\noCombo:lIncSearch := .T.\noCombo:oGet:bKeyChar = { | nKey | premi_combo( nKey, oCombo ) }\n\nACTIVATE DIALOG oDlg CENTER\n\nRETURN NIL\n\n\nFUNCTION PREMI_COMBO( nKey , oCombo )\nDO CASE\n CASE nKey = VK_RETURN\n nKey := VK_TAB\n OTHERWISE\n\nENDCASE\n\nRETURN oCombo:KeyChar( ASC( UPPER( CHR( nKey ) ) ) )", "time": "13:14", "topic": "Character Search within ComboBox", "username": "MarcoBoschi" } ]
Character Search within ComboBox
[ { "date": "2012-08-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marco,\n\nI tried this and it did not work. I trying to peform the following within a combobox. For example if the items consists of the following: LOT, LBS, PCS, PKG, PLT, PND, PPL\n\nI want the user to be able press keys PLT and move directly item PLT, now when the user presses P it goes to first p, in this case PCS, but then when they press L, it goes to first L, in this case LOT.\n\nIs something available that could help?\n\nThank you,", "time": "06:05", "topic": "Character Search within ComboBox", "username": "cdmmaui" } ]
Character Search within ComboBox
[ { "date": "2012-08-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Darrell,\n\nYou just need to do:\n\noComboBox:lIncSearch = .T.\n\nWith more recent FWH version, it is not needed that the user types the whole word. It searches on each keystroke:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=131939#p131939\">viewtopic.php?p=131939#p131939</a><!-- l -->", "time": "12:24", "topic": "Character Search within ComboBox", "username": "Antonio Linares" } ]
Character Search within ComboBox
[ { "date": "2012-08-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nI am using FWHX 11.11; I will try now.\n\nThank you,", "time": "16:07", "topic": "Character Search within ComboBox", "username": "cdmmaui" } ]
Character Search within ComboBox
[ { "date": "2006-10-23", "forum": "FiveWin for CA-Clipper", "text": "How does one store and then display characters like ô in DBF files?????\n\nBy the Way, I am reading this in from a txt file on disk.", "time": "04:29", "topic": "Character Set", "username": "grumpy" } ]
Character Set
[ { "date": "2006-10-25", "forum": "FiveWin for CA-Clipper", "text": "You may use AnsiToOem() and OemToAnsi()", "time": "23:36", "topic": "Character Set", "username": "Antonio Linares" } ]
Character Set
[ { "date": "2006-10-27", "forum": "FiveWin for CA-Clipper", "text": "I use AnsitoOem on reading and OemtoAnsi on display and still get weird characters. Probably something simple but got me stumped.", "time": "01:26", "topic": "Character Set", "username": "grumpy" } ]
Character Set
[ { "date": "2005-12-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nMy application reads dialog controls from resource file (dll) and cannot display characters from Latin Extended A Block (c acute, c caron and z caron) under Windows 98. Only s caron is displayed fine. Application is built under Windows XP. Under Windows XP works fine with all characters. When I make application under Windows 98, all characters are fine except z caron (substituted with _ ). But, that application doesn't work fine under Windows XP - characters c caron and c acute are substituted with | (because in resource file in this case c acute is represented with only one byte, not two, and XP cannot read it).\nI can use two dll's, one for Windows 98 and the other for XP, but still I have a problem with z caron under Windows 98. And, this is a problem ONLY when application reads text from dialog resources. When application sets text to dialog controls ( SetText() --> SetWindowText() ), or to any dc, it works fine!\nIs there any solution to this?!\nI tried with Regional settings etc., but it didn't help.\n\nRegards\nAleksandar", "time": "09:19", "topic": "Character display problem", "username": "acopapic" } ]
Character display problem
[ { "date": "2005-12-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Aleksandar,\n\nOn those labels where the text is not properly shown, you may define them as \"aaaa\", \"bbbb\", etc. in the resource and then REDEFINE SAY ... PROMPT ... ID ... them to the right text.", "time": "11:21", "topic": "Character display problem", "username": "Antonio Linares" } ]
Character display problem
[ { "date": "2015-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\nI have a big problem to convert a character field n5 char(20,0) to a dezimal field betrag(N,12,2)\nI get the characterfield with csv conversion from bank.\n-23,58 field n5\nor\n+11.931,76 field n5\nwith the code\nbetrag = val(n5)\nthe result is\n-23.00 and not -23.58 or -23,58\nthe problem is, that there are no decimals.\nPlease can you give me here some examples for conversion.\nThank you\nBest regards Armin", "time": "12:14", "topic": "Character to convert in decimal", "username": "Armin Thurner" } ]
Character to convert in decimal
[ { "date": "2015-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:1p21mcjx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">  betrag = val<span style=\"color: #000000;\">&#40;</span>strtran<span style=\"color: #000000;\">&#40;</span>strtran<span style=\"color: #000000;\">&#40;</span>n5,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\",\"</span>,<span style=\"color: #ff0000;\">\".\"</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:1p21mcjx]", "time": "12:48", "topic": "Character to convert in decimal", "username": "alerchster" } ]
Character to convert in decimal
[ { "date": "2015-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Vielen lieben Dank.\nEs funktioniert ausgezeichnet.\nBin auch Kärntner vom Gailtal Presseggersee.\nBin nächste Woche in Kärnten, darf ich Sie auf ein Dinner einladen?\n<!-- e --><a href=\"mailto:arminthurner@gmx.at\">arminthurner@gmx.at</a><!-- e -->\n<!-- w --><a class=\"postlink\" href=\"http://www.i-pointpartner.net\">www.i-pointpartner.net</a><!-- w -->\n+436801263158\nLiebe Gruesse\nArmin Thurner", "time": "15:19", "topic": "Character to convert in decimal", "username": "Armin Thurner" } ]
Character to convert in decimal
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nIs it possible to show text in the xBrowse cell with characters inserted into it from another code table\n(for example, superscript characters of space or volume. As in Word/Excel) ?", "time": "10:11", "topic": "Characters from different code tables", "username": "Natter" } ]
Characters from different code tables
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "I can tell you this much.\nIf the string appears correctly using \"?\" command, it will appear the same way in XBrowse also.\nFirst, test with\n[code=fw:106tzumk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">? cText</div>[/code:106tzumk]", "time": "10:51", "topic": "Characters from different code tables", "username": "nageswaragunupudi" } ]
Characters from different code tables
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Good. \nIs it possible to use different fonts in the same row (not in different rows) of the cell ?", "time": "13:48", "topic": "Characters from different code tables", "username": "Natter" } ]
Characters from different code tables
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:31sbh8li] superscript characters of space or volume[/quote:31sbh8li]\nPlease give some examples and let us try now.\nAny character can also be expressed in utf8. Then we can concatenate all utf8 characters", "time": "16:23", "topic": "Characters from different code tables", "username": "nageswaragunupudi" } ]
Characters from different code tables
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Please first see the functioning of the function\n[code=fw:id5ja91m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">FW_SayTextHilite<span style=\"color: #000000;\">&#40;</span> hDC, cText, aRect, oFont, nClrText, nClrBack, aWords <span style=\"color: #000000;\">&#41;</span></div>[/code:id5ja91m]\n\nThis is an example how to use:\n[code=fw:id5ja91m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> TestHilite<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oWnd<br />   <span style=\"color: #00C800;\">local</span> cText := <span style=\"color: #ff0000;\">\"We always eat dinner together\"</span><br />   <span style=\"color: #00C800;\">local</span> aWords<br />   <span style=\"color: #00C800;\">local</span> oFont, oBold, oItalic<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Segoe UI\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-22</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBold <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"VERDANA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-25</span> BOLD<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oItalic <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TIMES NEW ROMAN\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-25</span> ITALIC<br /><br />   aWords   := <span style=\"color: #000000;\">&#123;</span>  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"ALWAYS\"</span>, oBold, CLR_HRED, CLR_YELLOW <span style=\"color: #000000;\">&#125;</span>, ;<br />                  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"DINNER\"</span>, oItalic, CLR_GREEN, CLR_HGRAY <span style=\"color: #000000;\">&#125;</span>, ;<br />                  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"TOGETHER\"</span>, oItalic, CLR_WHITE, CLR_RED <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />   oWnd:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont <span style=\"color: #000000;\">&#41;</span><br /><br />   oWnd:<span style=\"color: #000000;\">bPainted</span>  := <|hDC|<br />      <span style=\"color: #00C800;\">local</span> aRect    := GetClientRect<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />      aRect<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> += <span style=\"color: #000000;\">100</span><br />      FW_SayTextHilite<span style=\"color: #000000;\">&#40;</span> hDC, cText, aRect, oFont, ;<br />            CLR_BLACK, CLR_WHITE, aWords <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />      ><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br />   <span style=\"color: #0000ff;\">RELEASE</span> FONTS oFont, oBold, oItalic<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:id5ja91m]\n\n[url=https&#58;//imageshack&#46;com/i/poqRscTwp:id5ja91m][img:id5ja91m]https&#58;//imagizer&#46;imageshack&#46;com/v2/xq70/924/qRscTw&#46;png[/img:id5ja91m][/url:id5ja91m]\n\nNow you have to use this function to paint text in a cell by defining your own codeblock:\n[code=fw:id5ja91m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oCol:<span style=\"color: #000000;\">bPaintText</span></div>[/code:id5ja91m]\nThis codeblock is evaluated like this:\n[code=fw:id5ja91m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">bPaintText</span>, <span style=\"color: #00C800;\">Self</span>, hDC, cStrData, oRect:<span style=\"color: #000000;\">aRect</span>, aColors, lHighLite, lSelected <span style=\"color: #000000;\">&#41;</span></div>[/code:id5ja91m]", "time": "17:06", "topic": "Characters from different code tables", "username": "nageswaragunupudi" } ]
Characters from different code tables
[ { "date": "2023-08-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks! This is what I need", "time": "19:03", "topic": "Characters from different code tables", "username": "Natter" } ]
Characters from different code tables
[ { "date": "2013-05-23", "forum": "Off Topic / Otros temas", "text": "Amigos, la semana que viene, daré una charla de Git en Barcelona.\nEl evento es gratuito, así que si quereis venir, sois bienvenidos.\n\n<!-- m --><a class=\"postlink\" href=\"http://2704537368061661486_e802e903258c2bed114982092536f75c1560f6f2.blogspot.com/b/post-preview?token=7gVY0z4BAAA.iPw6WBpuMoEHCaIYjI6wkQ.25jpceVLNpinsS-vzf-mVA&postId=6214274796061471166&type=POST\">http://2704537368061661486_e802e903258c ... &type=POST</a><!-- m -->\n\nSaludos.", "time": "15:07", "topic": "Charla Git en Barcelona", "username": "thefull" } ]
Charla Git en Barcelona
[ { "date": "2013-05-23", "forum": "Off Topic / Otros temas", "text": "gracias Rafa <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nMe pilla lejos que sino ten por seguro que iria, aunque he de reconocer que ya estoy bastante enamorado de GIT como predijistes que nos pasaría a muchos <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "15:15", "topic": "Charla Git en Barcelona", "username": "Antonio Linares" } ]
Charla Git en Barcelona
[ { "date": "2013-05-23", "forum": "Off Topic / Otros temas", "text": "Me encantaría poder asistir, pero a mi también me pilla un poco lejos.\n\nOjala se pudiera retransmitir por Internet. Que buenos son los sueños.", "time": "19:45", "topic": "Charla Git en Barcelona", "username": "fgondi" } ]
Charla Git en Barcelona
[ { "date": "2013-05-24", "forum": "Off Topic / Otros temas", "text": "Intentaremos grabar el evento, y ponerlo a disposición de todos.\n\nNo podemos transmitir por Internet, a depender de una Wifi, y no tenemos tampoco la certeza que tendremos acceso a ella, según la sala que nos toque.\n\nSaludos", "time": "10:32", "topic": "Charla Git en Barcelona", "username": "thefull" } ]
Charla Git en Barcelona
[ { "date": "2013-05-24", "forum": "Off Topic / Otros temas", "text": "Rafa\nEl link que has dejado escupe esto :\nInvalid securityToken.\nError 403\n\nQueria informarme del lugar y hora, ya sabes que si puedo, asistité encantado !", "time": "11:34", "topic": "Charla Git en Barcelona", "username": "Joaquim Ferrer" } ]
Charla Git en Barcelona
[ { "date": "2013-05-24", "forum": "Off Topic / Otros temas", "text": "Parece que lo han cambiado.\n<!-- m --><a class=\"postlink\" href=\"http://www.barcelonajug.org/2013/05/control-de-versiones-con-git.html\">http://www.barcelonajug.org/2013/05/con ... n-git.html</a><!-- m -->", "time": "12:42", "topic": "Charla Git en Barcelona", "username": "thefull" } ]
Charla Git en Barcelona
[ { "date": "2013-05-27", "forum": "Off Topic / Otros temas", "text": "Gracias Rafa,\n\nEsperaré, deseoso, a la posibilidad de ver el evento en video.", "time": "13:29", "topic": "Charla Git en Barcelona", "username": "fgondi" } ]
Charla Git en Barcelona
[ { "date": "2013-05-29", "forum": "Off Topic / Otros temas", "text": "Fantástica charla de git ayer en [url:3ee62s1q]https&#58;//foursquare&#46;com/v/espai-jove-la-fontana/4c06d6110e0a2d7f4875ec0c[/url:3ee62s1q] con la gente de #bcnjug @BarcelonaJUG [url:3ee62s1q]http&#58;//www&#46;barcelonajug&#46;org/[/url:3ee62s1q]\nComo bien dijo Rafa, git te cambia la vida. Si colaboras en proyectos de software, es imprescindible. Si tu proyecto es individual, te facilita la vida y permite que duermas mucho mejor. Todo son ventajas, así que merece la pena el pequeño esfuerzo para aprender los comandos básicos y empezar. En espera de que Rafa pueda subir el video a youtube, comparto la presentacion\n[url:3ee62s1q]http&#58;//prezi&#46;com/nlvm_faqjau6/usando-git/[/url:3ee62s1q]\n\nGracias Rafa, todo un crack de la oratoria, great speaker !", "time": "08:38", "topic": "Charla Git en Barcelona", "username": "Joaquim Ferrer" } ]
Charla Git en Barcelona
[ { "date": "2013-05-29", "forum": "Off Topic / Otros temas", "text": "Solo con la presentación y ya estoy alucinando.\nComo he podido vivir sin git.\n\nDeseando poder ver el video.", "time": "09:21", "topic": "Charla Git en Barcelona", "username": "fgondi" } ]
Charla Git en Barcelona
[ { "date": "2013-05-29", "forum": "Off Topic / Otros temas", "text": "Una guia sencilla para empezar\n[url:amc2dse3]http&#58;//rogerdudler&#46;github&#46;io/git-guide/index&#46;es&#46;html[/url:amc2dse3]\n\nUna cheat sheet o chuleta para tener al lado de nuestra pantalla\n[url:amc2dse3]http&#58;//rogerdudler&#46;github&#46;io/git-guide/files/git_cheat_sheet&#46;pdf[/url:amc2dse3]\n\nComandos básicos\n[url:amc2dse3]http&#58;//geeksstory&#46;wordpress&#46;com/2012/01/20/git-comandos-basicos/[/url:amc2dse3]\n\nUna buena guia de aprendizaje\n[url:amc2dse3]http&#58;//html5facil&#46;com/tutoriales/git-y-github-desde-la-trinchera-parte-i[/url:amc2dse3]", "time": "10:56", "topic": "Charla Git en Barcelona", "username": "Joaquim Ferrer" } ]
Charla Git en Barcelona
[ { "date": "2013-05-29", "forum": "Off Topic / Otros temas", "text": "Juaquin,\n\nMuchas gracias por los enlaces.", "time": "14:45", "topic": "Charla Git en Barcelona", "username": "fgondi" } ]
Charla Git en Barcelona
[ { "date": "2013-05-29", "forum": "Off Topic / Otros temas", "text": "Buenas a todos\nTengo en placer de comunicaros que tenéis disponible mi charla sobre Git.\nQue lo disfrutéis\n<!-- m --><a class=\"postlink\" href=\"http://xthefull.blogspot.com.es/\">http://xthefull.blogspot.com.es/</a><!-- m -->", "time": "17:13", "topic": "Charla Git en Barcelona ( Video )", "username": "thefull" } ]
Charla Git en Barcelona ( Video )
[ { "date": "2013-05-30", "forum": "Off Topic / Otros temas", "text": "Gracias Rafa!!!", "time": "12:11", "topic": "Charla Git en Barcelona ( Video )", "username": "Carlos Mora" } ]
Charla Git en Barcelona ( Video )
[ { "date": "2013-05-31", "forum": "Off Topic / Otros temas", "text": "Gracias Rafa.\n\nMuy interesante la charla. Lo que mas me ha gustado es el termino \"libertad de operar como quiera\"\nEn mi caso, no he trabajado tampoco con subversion, algunos conceptos no me han quedado claros.\nPero nada que no resuelva internet y realizar pruebas-ensayos.\n\nOjala se puede realizar la propuesta de llevar a cabo otra charla con ejemplos prácticos.", "time": "12:45", "topic": "Charla Git en Barcelona ( Video )", "username": "fgondi" } ]
Charla Git en Barcelona ( Video )
[ { "date": "2013-05-31", "forum": "Off Topic / Otros temas", "text": "Por curiosidad ¿ Que control de versiones usas ?", "time": "13:41", "topic": "Charla Git en Barcelona ( Video )", "username": "thefull" } ]
Charla Git en Barcelona ( Video )
[ { "date": "2013-05-31", "forum": "Off Topic / Otros temas", "text": "Buena pregunta.\n\nPrimero, quiero aclarar que en la empresa, programando estoy yo sólo.\n\nen cuanto a la pregunta:\nHago git a mano usando uestudio y uso ficheros de texto, y la agenda y las tareas de outlook/gmail donde voy anotando los cambios que realizo y donde me llego.\n\nMantengo un proyecto estable en un directorio.\n\nPuedo crear un nuevo proyecto para trabajar sobre una ampliación, teniendo este proyecto llamadas a los prgs del directorio definitivo, pero sólo modifico los prgs nuevos de la ampliación\n\nQue surge un bug vuelvo al proyecto principal y lo corrigo.\n \nQue surge otra ampliación que va a llevar menos tiempo o que es solicitada por un cliente importante, pues creo otro proyecto trabajo sobre él y cuando esta definitivo sustituyo el proyecto inicial por este.\n\nLo que te acabo de describir es el día a día mio y como habrás observado es idéntico al ejemplo que tu expones.\n\nNo uso versiones de programa de cara al cliente. Es mas una información para mi control. \nSi algún cliente pide una mejora, en el momento que la tenga acabada y probada se la instalo al cliente. Todas las mejoras están a disposición del resto de los clientes, como van parametrizadas, les explico en que se basa y si les puede venir bien la usan, sino no les molesta.\nPor lo que es habitual tener versión nueva de los ejecutables.\nLos clientes agradecen, por lo menos en mi caso, no tener que esperar 15 días/1 mes/2 meses etc. a tener otra versión, la pueden tener rápidamente.\nLos bugs, toman carácter prioritario. Automáticamente se corrigen y se instalan en los clientes (que haría sin Internet)", "time": "22:02", "topic": "Charla Git en Barcelona ( Video )", "username": "fgondi" } ]
Charla Git en Barcelona ( Video )
[ { "date": "2012-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[url:1clb10a1]http&#58;//www&#46;winsupersite&#46;com/blog/supersite-blog-39/windows8/charles-petzold-prepping-metrostyle-programming-windows-book-142903[/url:1clb10a1]", "time": "08:01", "topic": "Charles Petzold Prepping Metro-Style Programming Book", "username": "Otto" } ]
Charles Petzold Prepping Metro-Style Programming Book
[ { "date": "2012-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Wow! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "09:54", "topic": "Charles Petzold Prepping Metro-Style Programming Book", "username": "Enrico Maria Giordano" } ]
Charles Petzold Prepping Metro-Style Programming Book
[ { "date": "2012-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "The advantage of FiveWin Touch is that we don't need to learn a new language, etc. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nWe simply keep using Harbour and FWH <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n(just kidding... but true) <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->", "time": "10:17", "topic": "Charles Petzold Prepping Metro-Style Programming Book", "username": "Antonio Linares" } ]
Charles Petzold Prepping Metro-Style Programming Book
[ { "date": "2012-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "The link is broken.", "time": "17:43", "topic": "Charles Petzold Prepping Metro-Style Programming Book", "username": "TimStone" } ]
Charles Petzold Prepping Metro-Style Programming Book
[ { "date": "2012-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Works fine from here.\n\nEMG", "time": "18:20", "topic": "Charles Petzold Prepping Metro-Style Programming Book", "username": "Enrico Maria Giordano" } ]
Charles Petzold Prepping Metro-Style Programming Book
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola José:\n\nSegún tengo entendido la versión 3.0 del Chartfx es libre debido a que ya es un producto descontinuado, con gusto puedo enviarla a tu mail privado.\n\nAnteriormente este control era muy utilizado para crear graficas pero debido a la limitante de la tecnología VBX solo estaba disponible en FW de 16 bits, ahora con esta nueva revisión que realice de la clase TVBControl() de FWH, estará disponible para 32 Bits.\n\nSaludos.", "time": "03:18", "topic": "ChartFX 3.0", "username": "Alberto Juárez" } ]
ChartFX 3.0
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "José puedes enviarme dicha herramienta.", "time": "03:24", "topic": "ChartFX 3.0", "username": "jnavas" } ]
ChartFX 3.0
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Alberto Juárez\":dl1v3ln9]Hola José:\n\nSegún tengo entendido la versión 3.0 del Chartfx es libre debido a que ya es un producto descontinuado, con gusto puedo enviarla a tu mail privado.\n\nAnteriormente este control era muy utilizado para crear graficas pero debido a la limitante de la tecnología VBX solo estaba disponible en FW de 16 bits, ahora con esta nueva revisión que realice de la clase TVBControl() de FWH, estará disponible para 32 Bits.\n\nSaludos.[/quote:dl1v3ln9]\n\nPodrias colgarla en algun site, para poderla descargar?\n\neste es mi correo:\n\n<!-- e --><a href=\"mailto:wmormar@yahoo.com.mx\">wmormar@yahoo.com.mx</a><!-- e -->\n\nGracias anticipadas", "time": "04:20", "topic": "ChartFX 3.0", "username": "wmormar" } ]
ChartFX 3.0
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Podrías enviárme esa herramienta a mí también? <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n\na: <!-- e --><a href=\"mailto:jmurugosa@yahoo.com\">jmurugosa@yahoo.com</a><!-- e -->", "time": "14:49", "topic": "ChartFX 3.0", "username": "jose_murugosa" } ]
ChartFX 3.0
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Alberto me uno al pedido, seria muy util poder utilizarlo desde (x)Harbour por favor dime de donde lo puedo descargar o si no es molestia me puedes pasar la Clase a este correo :\n\n<!-- e --><a href=\"mailto:evertiz@consorcioinformatico.com\">evertiz@consorcioinformatico.com</a><!-- e -->\n\nMuchas gracias", "time": "18:36", "topic": "ChartFX 3.0", "username": "Enrrique Vertiz" } ]
ChartFX 3.0
[ { "date": "2006-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Lo mismo que todos...\n\nmi correo es\n\n<!-- e --><a href=\"mailto:leandroalfonso111@hotmail.com\">leandroalfonso111@hotmail.com</a><!-- e -->", "time": "19:28", "topic": "ChartFX 3.0", "username": "leandro" } ]
ChartFX 3.0
[ { "date": "2006-04-28", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Alberto Juárez\":2we6cu7l]Hola José:\n\nSegún tengo entendido la versión 3.0 del Chartfx es libre debido a que ya es un producto descontinuado, con gusto puedo enviarla a tu mail privado.\n\nSaludos.[/quote:2we6cu7l]\n\nNeeeegativo mi estimado alberto, lo mismo pensaba y para quitarme de la duda les envie un correo hace poco mas de 2 años y la respuesta que recibi de Software FX para aclarar dicho mal entendido fue esta:\n\n[i:2we6cu7l]I'm very sorry to inform you that we have not longer the 16 bits version available for sale, however the product is still under the copyrigth law and the intellectual property belongs to Software-FX inc.\n\nAs a registered owner of a licence of ChartFX VBX, you are free to distribute a copy of our VBX [b:2we6cu7l]in your final product[/b:2we6cu7l], however, and no matter if the the product is not longer sold by us, you are not allowed to distribute or share the VBX or any other component of the 16 bits version, including documentation or any other file for developing propouses, this means, you are not allowed to share the product with other developers to use it for developing propouses.\n\nI encourage you to take a look into our new CharFX Activex product, I'm sure you will find far superior to the 16 bits version.[/i:2we6cu7l]\n\nTraduccion:\n\nLamento informate que la version de 16 bits ya no esta disponible para venta, sin embargo el producto sigue protegido por las leyes de derecho de autor y la propiedad intelectual pertenece a Software FX Inc.\n\nComo dueño registrado de una licencia del VBX CharFX, eres libre de distribuir una copia de nuestro VBX en TU PRODUCTO FINAL, sin embargo y sin importar si el producto ya no es vendido pro nosotros, no te es permitido compartir ni el VBX, ni ningun otro componente de la version de 16 bits, incluyendo la documentación ni ningun otro archivo con fines de desarrollo, esto significa que no puedes compartir el producto con ningun otro desarrollador para usarlo para crear aplicaciones.\n\nTe recomiendo que le eches un vistazo a nuestro ChartFX Activex, estoy seguro que lo encontrarás bastante mas superior que la version de 16 bits.", "time": "04:24", "topic": "ChartFX 3.0", "username": "R.F." } ]
ChartFX 3.0
[ { "date": "2006-04-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Correcto Rene, gracias por la aclaración\n\nSaludos", "time": "08:02", "topic": "ChartFX 3.0", "username": "Alberto Juárez" } ]
ChartFX 3.0
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos a todos los colegas de foro:\n\nAhi les va otra de mis \" <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> Marcianadas <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> \":\n\nAlguien sabrá por ahí como podré implementar un Chat en mi Sistema, tengo una clase (TCHATTER de R.Avendaño), esta clase trabaja bien con clipper y fivewin, pero no va con Xharbour, el problema es la sintaxis de la clase, ya he corregido algunos errores, pero sigue sin funcionar, si alguien puede ayudarme se lo agradecere mucho.\n\nSi así lo permite el Maestro Antonio Linares, puedo subir el archivo con la Clase para que le hechen una revisada..\n\nSaludos...\n\n\nFWH 2.6 + XHarbour 0.45 + XMate", "time": "16:14", "topic": "Chat con Fivewin", "username": "cuatecatl82" } ]
Chat con Fivewin
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cuatecatl82\":lanaj0cm]Saludos a todos los colegas de foro:\n\nAhi les va otra de mis \" <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> Marcianadas <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> \":\n\nAlguien sabrá por ahí como podré implementar un Chat en mi Sistema, tengo una clase (TCHATTER de R.Avendaño), esta clase trabaja bien con clipper y fivewin, pero no va con Xharbour, el problema es la sintaxis de la clase, ya he corregido algunos errores, pero sigue sin funcionar, si alguien puede ayudarme se lo agradecere mucho.\n\nSi así lo permite el Maestro Antonio Linares, puedo subir el archivo con la Clase para que le hechen una revisada..\n\nSaludos...\n\n\nFWH 2.6 + XHarbour 0.45 + XMate[/quote:lanaj0cm]\n\nCuate,\n\nContáctame por Messenger y te apoyo", "time": "16:50", "topic": "Chat con Fivewin", "username": "wmormar" } ]
Chat con Fivewin
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "si mal no recuerdo... el buen amigo Alfredo Arteaga\ntiene implementado algo en sus sistemas....", "time": "17:35", "topic": "Chat con Fivewin", "username": "VeRCE" } ]
Chat con Fivewin
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Es realmente muy muy muy simple de hacer un chat con FW, como digo yo, idiotamente simple.\n\nNecesitamos:\n\nUna tabla dbf compatida con un solo campo tipo caracter, longitud la que consideren\n\nHacen un dialogo que tenga un browse arriba, un get abajo, y un boton enviar.\n\nSe abre la tabla compartida\n\nSe pone en el get el mensaje y le dan al boton de enviar\n\nEl resto es facil, hacen appends sobre la tabla, y un timer para que cada determinadotimepo refresque el browse", "time": "23:22", "topic": "Chat con Fivewin", "username": "R.F." } ]
Chat con Fivewin
[ { "date": "2020-04-05", "forum": "mod_harbour", "text": "Hello,\nthis first part of the video series shows how to easily integrate an HTML program \ninto a mod harbor program.\nTarget group of these instructions are harbor programmers who take the first steps towards internet programming.\n\nBest regards,\nOtto\n\n\n\n[url:1afw087y]https&#58;//mybergland&#46;com/fwforum/part1&#46;mp4[/url:1afw087y]\n\nIntro Chat Software\n[url:1afw087y]https&#58;//mybergland&#46;com/fwforum/chatsoftwareintro&#46;mp4[/url:1afw087y]", "time": "10:51", "topic": "Chat software", "username": "Otto" } ]
Chat software
[ { "date": "2020-04-06", "forum": "mod_harbour", "text": "New!\nPart 3 - video chat software directory/hash\n\n [url:12f9370z]https&#58;//mybergland&#46;com/fwforum/managerchat3&#46;mp4[/url:12f9370z]", "time": "22:08", "topic": "Chat software", "username": "Otto" } ]
Chat software
[ { "date": "2020-06-10", "forum": "mod_harbour", "text": "Chat Manager now updates the input of the various chat clients with AJAX\n\n[img:66ku9crn]https&#58;//mybergland&#46;com/fwforum/chatmanager&#46;gif[/img:66ku9crn]", "time": "23:38", "topic": "Chat software", "username": "Otto" } ]
Chat software
[ { "date": "2020-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Awesome Mr. Otto.\n\nHow is it possible with so few lines to have an operational chat.\n\nmod_harbour is fantastic but Bottstrap Studio is too <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nThanks.\n\nJose.", "time": "17:28", "topic": "Chat software - mod harbour", "username": "jvtecheto" } ]
Chat software - mod harbour
[ { "date": "2020-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello, \nthe first videos are ready:\nTarget group of these instructions are harbor programmers who take the first steps towards internet programming.\n\nIntro Chat Software\n[url:1qzd6dnj]https&#58;//mybergland&#46;com/fwforum/chatsoftwareintro&#46;mp4[/url:1qzd6dnj]\n\nPart 1 of the video series shows how to easily integrate an HTML program into a mod harbor program.\n[url:1qzd6dnj]https&#58;//mybergland&#46;com/fwforum/part1&#46;mp4[/url:1qzd6dnj]\n\nPart 3 - video chat software directory/hash\n[url:1qzd6dnj]https&#58;//mybergland&#46;com/fwforum/managerchat3&#46;mp4[/url:1qzd6dnj]\n\nBest regards\nOtto", "time": "22:12", "topic": "Chat software - mod harbour", "username": "Otto" } ]
Chat software - mod harbour
[ { "date": "2020-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hello,\nthe first videos are ready:\nTarget group of these instructions are harbor programmers who take the first steps towards internet programming.\n\nIntro Chat Software\n<!-- m --><a class=\"postlink\" href=\"https://mybergland.com/fwforum/chatsoftwareintro.mp4\">https://mybergland.com/fwforum/chatsoftwareintro.mp4</a><!-- m -->\n\nPart 1 of the video series shows how to easily integrate an HTML program into a mod harbor program.\n<!-- m --><a class=\"postlink\" href=\"https://mybergland.com/fwforum/part1.mp4\">https://mybergland.com/fwforum/part1.mp4</a><!-- m -->\n\nPart 3 - video chat software directory/hash\n<!-- m --><a class=\"postlink\" href=\"https://mybergland.com/fwforum/managerchat3.mp4\">https://mybergland.com/fwforum/managerchat3.mp4</a><!-- m -->\n\nBest regards\nOtto", "time": "09:32", "topic": "Chat software - mod harbour", "username": "Otto" } ]
Chat software - mod harbour
[ { "date": "2020-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Online food ordering\n\nHello,\nAt the moment, it looks that you must place orders in restaurants with your smartphone after coronavirus restart.Therefore we have to develop an APP to take orders quickly.\nWe start with the search for a suitable template.\nStep 2)\nWe have found a beautiful template and now we are preparing the source code so we can start programming with Harbour.\n[url:2kbfldgi]https&#58;//mybergland&#46;com/fwforum/restaurant&#46;mp4[/url:2kbfldgi]\n\nBest regards,\nOtto", "time": "15:02", "topic": "Chat software - mod harbour", "username": "Otto" } ]
Chat software - mod harbour
[ { "date": "2021-06-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Good evening forum,\n\nI am trying to generate an internal chat in a company, and I would need the visual of the messages to be shown in this way:\n\n[img] <!-- m --><a class=\"postlink\" href=\"https://i.ibb.co/2jbyHmn/image.png\">https://i.ibb.co/2jbyHmn/image.png</a><!-- m --> [/ img]\n\nI understand php, html and CSS much better and doing it in that language is quite simple, but here I do not have any idea of how I could implement it. \n\nCan someone guide me where I should look?\n\nThank you", "time": "03:29", "topic": "Chat style, how to make chat bubbles as WhatsApp", "username": "nlerdafehn" } ]
Chat style, how to make chat bubbles as WhatsApp
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear friends,\nHow can we provide multi-user access to the staff members of a company?\n\nI think a plan like the one I have ($20/month) is not suitable from a privacy standpoint. First, I don't know if it's allowed to share the key, and secondly, \nall others would see your questions.\n\nAPI request:\nHere are some questions I asked:\n\"What are your experiences?\"\n\nBest regards,\nOtto\n\n\n[code=fw:6p2zywow]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Can you tell me <span style=\"color: #00C800;\">for</span> example how many tokens this <span style=\"color: #0000ff;\">text</span> has: <span style=\"color: #ff0000;\">'In the context of natural language processing and machine learning models like GPT-3, a token generally refers to a sequence of characters that the model uses as a basic unit of input. These sequences of characters can include individual words, punctuation marks, and other symbols.<br /><br />In the case of GPT-3, a token is typically defined as a single word or symbol in a sentence, including spaces and punctuation. When you input a sentence or a piece of text to GPT-3, it breaks down the input into tokens, processes each token, and then generates a response based on the sequence of tokens.<br /><br />The cost of using GPT-3'</span>s API is typically calculated based <span style=\"color: #0000ff;\">on</span> the number <span style=\"color: #0000ff;\">of</span> tokens processed by the model, rather than the number <span style=\"color: #0000ff;\">of</span> requests made or the amount <span style=\"color: #0000ff;\">of</span> <span style=\"color: #00C800;\">data</span> processed. This means that longer sentences or more complex inputs will generally cost more than shorter, simpler ones, as they require more tokens <span style=\"color: #0000ff;\">to</span> process.<span style=\"color: #ff0000;\">'<br />ChatGPT<br />Sure! The text you provided contains a total of 92 tokens.<br /><br />Here'</span>s a breakdown <span style=\"color: #0000ff;\">of</span> the tokens by sentence:<br /><br /><span style=\"color: #000000;\">First</span> sentence: <span style=\"color: #000000;\">32</span> tokens<br />Second sentence: <span style=\"color: #000000;\">36</span> tokens<br />Third sentence: <span style=\"color: #000000;\">24</span> tokens<br />Note that these token counts include spaces and punctuation. In general, longer and more complex sentences will have more tokens, and therefore will cost more <span style=\"color: #0000ff;\">to</span> process using GPT<span style=\"color: #000000;\">-3</span><span style=\"color: #ff0000;\">'s API.<br /><br /><br /><br /><br /><br />User<br />Can you show me the tokens of the first sentence, please?<br />ChatGPT<br />Certainly! Here are the tokens for the first sentence of the text you provided:<br /><br />In<br />the<br />context<br />of<br />natural<br />language<br />processing<br />and<br />machine<br />learning<br />models<br />like<br />GPT<br />3<br />,<br />a<br />token<br />generally<br />refers<br />to<br />a<br />sequence<br />of<br />characters<br />that<br />the<br />model<br />uses<br />as<br />a<br />basic<br />unit<br />of<br />input.<br />Note that tokens can include not only words, but also punctuation and special characters like hyphens and apostrophes.<br /><br /><br /><br /><br /><br />User<br />Please show me also the 2nd sentence<br />ChatGPT<br />Sure! Here are the tokens for the second sentence of the text you provided:<br /><br />These<br />sequences<br />of<br />characters<br />can<br />include<br />individual<br />words<br />,<br />punctuation<br />marks<br />,<br />and<br />other<br />symbols<br />.<br />In<br />the<br />case<br />of<br />GPT<br />3<br />,<br />a<br />token<br />is<br />typically<br />defined<br />as<br />a<br />single<br />word<br />or<br />symbol<br />in<br />a<br />sentence<br />,<br />including<br />spaces<br />and<br />punctuation.<br /><br /><br /><br /><br />User<br />If the cost is &nbsp;$0.06 / 1K tokens &nbsp;how much would the request be?<br />ChatGPT<br />To calculate the cost of processing a certain number of tokens using GPT-3'</span>s API <span style=\"color: #00C800;\">at</span> a <span style=\"color: #0000ff;\">rate</span> <span style=\"color: #0000ff;\">of</span> $<span style=\"color: #000000;\">0.06</span> per <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">000</span> tokens, you can use the following formula:<br /><br /><span style=\"color: #000000;\">cost</span> = <span style=\"color: #000000;\">&#40;</span>number <span style=\"color: #0000ff;\">of</span> tokens / <span style=\"color: #000000;\">1000</span><span style=\"color: #000000;\">&#41;</span> * $<span style=\"color: #000000;\">0.06</span><br /><br />Plugging in the number <span style=\"color: #0000ff;\">of</span> tokens in your <span style=\"color: #0000ff;\">text</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">92</span><span style=\"color: #000000;\">&#41;</span>, we <span style=\"color: #0000ff;\">get</span>:<br /><br /><span style=\"color: #000000;\">cost</span> = <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">92</span> / <span style=\"color: #000000;\">1000</span><span style=\"color: #000000;\">&#41;</span> * $<span style=\"color: #000000;\">0.06</span><br />cost = <span style=\"color: #000000;\">0.00552</span><br /><br />Therefore, the cost <span style=\"color: #0000ff;\">of</span> processing the tokens in the <span style=\"color: #0000ff;\">text</span> you provided using GPT<span style=\"color: #000000;\">-3</span><span style=\"color: #ff0000;\">'s API at a rate of $0.06 per 1,000 tokens would be approximately $0.00552, which is less than one cent. Note that this is just an estimate, and actual costs may vary depending on the specific API plan and pricing structure used.<br /><br /><br /><br /><br /><br />User<br />How many times could I request for 20 $ a similar question?<br />ChatGPT<br />To determine how many times you could request a similar question for $20, we need to know the cost per request in terms of tokens, as well as the exact number of tokens required to process the question.<br /><br />Let'</span>s assume that the similar question you want <span style=\"color: #0000ff;\">to</span> ask contains approximately the same number <span style=\"color: #0000ff;\">of</span> tokens as the original question you provided <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">92</span> tokens<span style=\"color: #000000;\">&#41;</span>.<br /><br /><span style=\"color: #00C800;\">If</span> we use the same token pricing <span style=\"color: #0000ff;\">of</span> $<span style=\"color: #000000;\">0.06</span> per <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">000</span> tokens, the cost <span style=\"color: #0000ff;\">of</span> processing <span style=\"color: #000000;\">92</span> tokens would be:<br /><br /><span style=\"color: #000000;\">cost</span> = <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">92</span> / <span style=\"color: #000000;\">1000</span><span style=\"color: #000000;\">&#41;</span> * $<span style=\"color: #000000;\">0.06</span><br />cost = $<span style=\"color: #000000;\">0.00552</span><br /><br />So the cost <span style=\"color: #0000ff;\">of</span> processing one question with <span style=\"color: #000000;\">92</span> tokens would be approximately $<span style=\"color: #000000;\">0.00552</span>.<br /><br /><span style=\"color: #00C800;\">If</span> you have $<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">to</span> spend <span style=\"color: #0000ff;\">on</span> similar questions, you can divide $<span style=\"color: #000000;\">20</span> by the cost per request:<br /><br /><span style=\"color: #000000;\">number</span> <span style=\"color: #0000ff;\">of</span> requests = $<span style=\"color: #000000;\">20</span> / cost per request<br /><br />number <span style=\"color: #0000ff;\">of</span> requests = $<span style=\"color: #000000;\">20</span> / $<span style=\"color: #000000;\">0.00552</span><br /><br />number <span style=\"color: #0000ff;\">of</span> requests = <span style=\"color: #000000;\">3623.19</span><br /><br />Rounding <span style=\"color: #0000ff;\">down</span> <span style=\"color: #0000ff;\">to</span> the nearest whole number, you could request the similar question approximately <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">623</span> times <span style=\"color: #00C800;\">for</span> $<span style=\"color: #000000;\">20</span>. However, this is just an estimate based <span style=\"color: #0000ff;\">on</span> the assumptions made, and actual costs may vary depending <span style=\"color: #0000ff;\">on</span> the specific API plan and pricing structure used.</div>[/code:6p2zywow]", "time": "07:46", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear friends,\nI am working on a tool to request standardized questions to ChatGPT.\nBest regards,\nOtto\n\n[img:1d0bxe8a]https&#58;//mybergland&#46;com/fwforum/fragen&#46;jpg[/img:1d0bxe8a]\n\n\n\n\n[quote:1d0bxe8a]Can you please provide me a list of public holidays for 2024 in the format 'DD.MM.YYYY holiday name'? Also, please calculate the tokens for this request and determine the cost for the inquiry. The fee is $0.06/1K tokens. How many similar requests can I make for $1?\n\nAustria\n\nChatGPT:\n\nYes, of course! Here is the list of public holidays for 2024 in Austria in the format 'DD.MM.YYYY holiday name':\n\n01.01.2024 New Year's Day\n06.01.2024 Epiphany\n10.04.2024 Good Friday\n13.04.2024 Easter Monday\n01.05.2024 Labour Day\n09.05.2024 Ascension Day\n20.05.2024 Whit Monday\n31.05.2024 Corpus Christi\n15.08.2024 Assumption Day\n26.10.2024 National Day\n01.11.2024 All Saints' Day\n08.12.2024 Immaculate Conception\n25.12.2024 Christmas Day\n26.12.2024 St. Stephen's Day\n\nThis list contains a total of 14 public holidays for the year 2024 in Austria.\n\nFor this request, I used a total of 16 tokens. At a fee of $0.06 per 1K tokens, this request costs $0.00096. With a budget of $1, you can make a total of 1041 similar requests.\n\n\n\n\n[/quote:1d0bxe8a]", "time": "07:58", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nQuestion out of context, how can you put the logo in the toolbar on the right.\"WinHotel\"\n\n <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "13:37", "topic": "ChatGPT", "username": "Ari" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nA question about ChatCPT is it possible to educate him to answer questions from my customers in technical support? with a single license?\n\nor even here in the forum Antonio ! him looking for things here, and it would give you more time off.. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:40", "topic": "ChatGPT", "username": "Ari" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ari,\n\nYou simply go to chatGPT, make your question and copy here its answer <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:41", "topic": "ChatGPT", "username": "Antonio Linares" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Ari, this is the code:\nBest regards,\nOtto\n\n[code=fw:32io9dgt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> oBar:<span style=\"color: #000000;\">bPainted</span> &nbsp;:= <span style=\"color: #000000;\">&#123;</span> |hDC| PaintBarLogo<span style=\"color: #000000;\">&#40;</span> hDC, oBar <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> PaintBarLogo<span style=\"color: #000000;\">&#40;</span> hDC, oBar <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oRect &nbsp; &nbsp;:= oBar:<span style=\"color: #000000;\">GetCliRect</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hBmp2, hBmp, nZeroZeroClr<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hBmpOld<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nWidth &nbsp; := <span style=\"color: #000000;\">128</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> File<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"logo.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; hBmp &nbsp;:= ReadBitmap<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"logo.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; hBmp &nbsp;:= LoadBitmap<span style=\"color: #000000;\">&#40;</span> GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"LINKMAX\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;nWidth &nbsp; := <span style=\"color: #0000ff;\">Min</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">300</span>, nBmpWidth<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">72.0</span> / nBmpHeight<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> HasAlpha<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; hBmp2 &nbsp; &nbsp;:= ResizeBitmap<span style=\"color: #000000;\">&#40;</span> hBmp, nWidth,<span style=\"color: #000000;\">72</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ABPaint<span style=\"color: #000000;\">&#40;</span> hDC, oRect:<span style=\"color: #000000;\">nRight</span> - nWidth - <span style=\"color: #000000;\">2</span>, oRect:<span style=\"color: #000000;\">nTop</span>, hBmp2, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; hBmpOld = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; nZeroZeroClr = GetPixel<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBmpOld <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; SetBkColor<span style=\"color: #000000;\">&#40;</span> hDC, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; TransBmp<span style=\"color: #000000;\">&#40;</span> hBmp, nBmpWidth<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span>, nBmpHeight<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span>, nZeroZeroClr, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hDC, oRect:<span style=\"color: #000000;\">nRight</span> - nWidth - <span style=\"color: #000000;\">2</span> , oRect:<span style=\"color: #000000;\">nTop</span>, nWidth, oRect:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:32io9dgt]", "time": "20:46", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nThank you very much", "time": "20:57", "topic": "ChatGPT", "username": "Ari" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Otto;\n\nI don't think you need to ask for number of tokens used. Responses contain that information already. Here is a typical Json response I get:\n[quote:1zhjkydy]{\n\t\"id\": \"cmpl-XxXXXXXXXXXXXXXXXXX\",\n\t\"object\": \"text_completion\",\n\t\"created\": 1683665917,\n\t\"model\": \"text-davinci-003\",\n\t\"choices\": [\n\t\t{\n\t\t\t\"text\": \"\\r\\nICD-10 Diagnosis Codes: \\r\\n1. S52.521A - Fracture of lower end of right radius, initial encounter for closed fracture \\r\\n2. S52.522A - Fracture of lower end of right ulna, initial encounter for closed fracture \\r\\n3. S52.531A - Fracture of shaft of right radius, initial encounter for closed fracture \\r\\n4. S52.532A - Fracture of shaft of right ulna, initial encounter for closed fracture\",\n\t\t\t\"index\": 0,\n\t\t\t\"logprobs\": null,\n\t\t\t\"finish_reason\": \"stop\"\n\t\t}\n\t],\n\t\"usage\": {\n\t\t\"prompt_tokens\": 417,\n\t\t\"completion_tokens\": 113,\n\t\t\"total_tokens\": 530\n\t}\n}[/quote:1zhjkydy]\n\nNotice field \"usage\".\n\nJust my 2 cents in case it helps (not that it costs 2 cents) <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nReinaldo.", "time": "22:31", "topic": "ChatGPT", "username": "reinaldocrespo" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Reinaldo,\n\nThank you. I do not use API; I use copy & paste. My ChatGPT plan costs $20 per month, and I think the requests are not limited. I want to find out how much the API key costs.\n\nWhat are your experiences? It seems that 31 similar requests, as you posted, will cost $1. Is that correct?\n\nBest regards,\nOtto\n\n\n[code=fw:3up0za52]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">how much does the request cost? the <span style=\"color: #0000ff;\">rate</span> is $<span style=\"color: #000000;\">0.06</span> / 1K tokens. and this is the response json: <span style=\"color: #ff0000;\">\"usage\"</span>: <span style=\"color: #000000;\">&#123;</span><br /><span style=\"color: #ff0000;\">\"prompt_tokens\"</span>: <span style=\"color: #000000;\">417</span>,<br /><span style=\"color: #ff0000;\">\"completion_tokens\"</span>: <span style=\"color: #000000;\">113</span>,<br /><span style=\"color: #ff0000;\">\"total_tokens\"</span>: <span style=\"color: #000000;\">530</span><br /><span style=\"color: #000000;\">&#125;</span><br />ChatGPT<br />Based <span style=\"color: #0000ff;\">on</span> the response JSON you provided, the total number <span style=\"color: #0000ff;\">of</span> tokens used in the API request was <span style=\"color: #000000;\">530</span> <span style=\"color: #000000;\">&#40;</span>prompt_tokens + completion_tokens<span style=\"color: #000000;\">&#41;</span>.<br /><br />Using the given <span style=\"color: #0000ff;\">rate</span> <span style=\"color: #0000ff;\">of</span> $<span style=\"color: #000000;\">0.06</span> per <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">000</span> tokens, we can calculate the cost <span style=\"color: #0000ff;\">of</span> the request as follows:<br /><br /><span style=\"color: #000000;\">Total</span> number <span style=\"color: #0000ff;\">of</span> tokens / <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">000</span> = <span style=\"color: #000000;\">530</span> / <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">000</span> = <span style=\"color: #000000;\">0.53</span><br /><br />Cost <span style=\"color: #0000ff;\">of</span> the request = <span style=\"color: #000000;\">0.53</span> x $<span style=\"color: #000000;\">0.06</span> = $<span style=\"color: #000000;\">0.0318</span><br /><br />Therefore, the cost <span style=\"color: #0000ff;\">of</span> the request would be $<span style=\"color: #000000;\">0.0318</span>.<br /><br /><br /><br /><br /><br />User<br />how many similar request can I make <span style=\"color: #00C800;\">for</span> <span style=\"color: #000000;\">1</span> $<br />ChatGPT<br /><span style=\"color: #0000ff;\">To</span> calculate the number <span style=\"color: #0000ff;\">of</span> similar requests you can make <span style=\"color: #00C800;\">for</span> <span style=\"color: #000000;\">1</span>$, we need <span style=\"color: #0000ff;\">to</span> divide <span style=\"color: #000000;\">1</span> by the cost <span style=\"color: #0000ff;\">of</span> each request.<br /><br /><span style=\"color: #00C800;\">If</span> the cost <span style=\"color: #0000ff;\">of</span> each request is $<span style=\"color: #000000;\">0.0318</span> as calculated in the previous answer, then:<br /><br /><span style=\"color: #000000;\">1</span> / $<span style=\"color: #000000;\">0.0318</span> = <span style=\"color: #000000;\">31.45</span><br /><br />So, you can make approximately <span style=\"color: #000000;\">31</span> similar requests <span style=\"color: #00C800;\">for</span> <span style=\"color: #000000;\">1</span> dollar, assuming the cost <span style=\"color: #0000ff;\">of</span> each request remains the same <span style=\"color: #00C800;\">at</span> $<span style=\"color: #000000;\">0.0318</span>.<br /><br />&nbsp;</div>[/code:3up0za52]", "time": "23:16", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, Otto. You are right. $0.989 to be exact. I'm still testing and don't really know how much will it cost. \n\nIn real life my customers could make over 100 such fetches per day. I would have to pass on the cost. But, for my customers this would represent thousands in savings. To fetch one of those ICD10 codes you have to have tools and people with expertise. And the expert coder needs to read a medical report which takes time.\n\nIf the $20 max charge is unlimited, then that plan will work better for me.\n\nI will let you know how it goes. \n\nLet's make plan for another meeting.\n\n\nReinaldo.", "time": "23:26", "topic": "ChatGPT", "username": "reinaldocrespo" } ]
ChatGPT
[ { "date": "2023-05-10", "forum": "FiveWin for Harbour/xHarbour", "text": "+1 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:48", "topic": "ChatGPT", "username": "Antonio Linares" } ]
ChatGPT
[ { "date": "2023-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Ari, \n\n [quote:1yrpj7o3]A question about ChatCPT is it possible to educate him to answer questions from my customers in technical support? [/quote:1yrpj7o3]\n\nBut it is already possible now for you to include information in your requests, and ChatGPT can access that information when generating responses.\nI am extending my program.\nIn a second memo field, I save knowledge bases, and then I can include them in my requests.\n\nBest regards,\nOtto", "time": "10:03", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello friends,\n\nBy the way, I found a great plugin for ChatGPT.\nIt creates a button that allows you to select a file and upload it as a knowledge base.\nIt uses async to read the file as text and split it into chunks of size 15,000, which are then sent.\n\nHere is a video demonstrating how it works: <!-- m --><a class=\"postlink\" href=\"https://www.youtube.com/watch?v=iR99LO28nzM\">https://www.youtube.com/watch?v=iR99LO28nzM</a><!-- m -->\n\nYou can download the Chrome plugin, called \"ChatGPT File Uploader,\" from this link: <!-- m --><a class=\"postlink\" href=\"https://tinyurl.com/5n7rjhar\">https://tinyurl.com/5n7rjhar</a><!-- m -->\n\nBest regards,\nOtto", "time": "21:25", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Otto\":3cb47qvp]Ari, this is the code:\nBest regards,\nOtto\n\n[code=fw:3cb47qvp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> oBar:<span style=\"color: #000000;\">bPainted</span>  := <span style=\"color: #000000;\">&#123;</span> |hDC| PaintBarLogo<span style=\"color: #000000;\">&#40;</span> hDC, oBar <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> PaintBarLogo<span style=\"color: #000000;\">&#40;</span> hDC, oBar <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oRect    := oBar:<span style=\"color: #000000;\">GetCliRect</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> hBmp2, hBmp, nZeroZeroClr<br />   <span style=\"color: #00C800;\">local</span> hBmpOld<br />   <span style=\"color: #00C800;\">local</span> nWidth   := <span style=\"color: #000000;\">128</span><br /><br />   <span style=\"color: #00C800;\">if</span> File<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"logo.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br />      hBmp  := ReadBitmap<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"logo.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">else</span><br />      hBmp  := LoadBitmap<span style=\"color: #000000;\">&#40;</span> GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"LINKMAX\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br />   nWidth   := <span style=\"color: #0000ff;\">Min</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">300</span>, nBmpWidth<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">72.0</span> / nBmpHeight<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">if</span> HasAlpha<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />      hBmp2    := ResizeBitmap<span style=\"color: #000000;\">&#40;</span> hBmp, nWidth,<span style=\"color: #000000;\">72</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />      DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />      ABPaint<span style=\"color: #000000;\">&#40;</span> hDC, oRect:<span style=\"color: #000000;\">nRight</span> - nWidth - <span style=\"color: #000000;\">2</span>, oRect:<span style=\"color: #000000;\">nTop</span>, hBmp2, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span><br />      DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp2 <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">else</span><br />      hBmpOld = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBmp <span style=\"color: #000000;\">&#41;</span><br />      nZeroZeroClr = GetPixel<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />      SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBmpOld <span style=\"color: #000000;\">&#41;</span><br />      SetBkColor<span style=\"color: #000000;\">&#40;</span> hDC, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />      TransBmp<span style=\"color: #000000;\">&#40;</span> hBmp, nBmpWidth<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span>, nBmpHeight<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span>, nZeroZeroClr, ;<br />         hDC, oRect:<span style=\"color: #000000;\">nRight</span> - nWidth - <span style=\"color: #000000;\">2</span> , oRect:<span style=\"color: #000000;\">nTop</span>, nWidth, oRect:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span><br />      DeleteObject<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3cb47qvp][/quote:3cb47qvp]\n\nPlease consider this simpler one line code:\n[code=fw:3cb47qvp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBar:<span style=\"color: #000000;\">bPainted</span> := <span style=\"color: #000000;\">&#123;</span> || oBar:<span style=\"color: #000000;\">DrawImage</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\l</span>ogo.bmp\"</span>, <span style=\"color: #ff0000;\">\"R\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:3cb47qvp]\n\nSample for testing:\n[code=fw:3cb47qvp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oWnd, oBar<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">48</span> <span style=\"color: #000000;\">2010</span><br /><br />&nbsp; &nbsp;oBar:<span style=\"color: #000000;\">bPainted</span> := <span style=\"color: #000000;\">&#123;</span> || oBar:<span style=\"color: #000000;\">DrawImage</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\l</span>ogo.bmp\"</span>, <span style=\"color: #ff0000;\">\"R\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3cb47qvp]\n[url=https&#58;//imageshack&#46;com/i/pn4lWI7Bg:3cb47qvp][img:3cb47qvp]https&#58;//imagizer&#46;imageshack&#46;com/img923/9063/4lWI7B&#46;gif[/img:3cb47qvp][/url:3cb47qvp]", "time": "05:43", "topic": "ChatGPT", "username": "nageswaragunupudi" } ]
ChatGPT
[ { "date": "2023-05-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, today Openai release, ( im in waitlist), chatgpt4 with web browsing and plugins, with webbrowsing and some hacks with pyton, chatgpt is very usefull. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nBest regards", "time": "12:22", "topic": "ChatGPT", "username": "NWKL" } ]
ChatGPT
[ { "date": "2023-05-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\n[img:33basdc8]https&#58;//mybergland&#46;com/fwforum/chatbrowse&#46;jpg[/img:33basdc8]\n\nBest regards,\nOtto", "time": "14:13", "topic": "ChatGPT", "username": "Otto" } ]
ChatGPT
[ { "date": "2023-05-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Otto,\n\nAre you using a pluggin ?", "time": "14:36", "topic": "ChatGPT", "username": "Antonio Linares" } ]
ChatGPT