//Assistant de migration de code HF - PC SOFT 1998 // ------- Les fonctions HF qui sont impliquées dans un code réseau-------- // FONCTION,Type d'implication,Type de code approprié // FONCTION = Nom de la fonction HF // Type d'implication = 1 pour HModePerso(Vrai ou Faux) / 2 pour HModePerso(Vrai) // Type de code approprié = numéro maxi d'ID de code qui convient à cette fonction // exemple : 2 si les codes 1 et 2 conviennent mais pas ceux > à 2 // HModePerso(Vrai) et HModePerso(Faux) soit les fonctions d'écritures ou de blocage FUNCTION=HAjoute,1,2 FUNCTION=HAdd,1,2 FUNCTION=HAlias,1,2 FUNCTION=HCopieEnreg,1,2 FUNCTION=HCopyRecord,1,2 FUNCTION=HCreation,1,2 FUNCTION=HCreationSiInexitant,1,2 FUNCTION=HCreationIfNotFound,1,2 FUNCTION=HFerme,1,2 FUNCTION=HClose,1,2 FUNCTION=HFermeAnalyse,1,2 FUNCTION=HCloseAnalysis,1,2 FUNCTION=HOuvreAnalyse,1,2 FUNCTION=HOpenAnalysis,1,2 FUNCTION=HInfoGene,1,2 FUNCTION=HLibere,1,2 FUNCTION=HFree,1,2 FUNCTION=HModifie,1,2 FUNCTION=HModify,1,2 FUNCTION=HOuvre,1,2 FUNCTION=HOpen,1,2 FUNCTION=HPositionne,1,2 FUNCTION=HPosition,1,2 FUNCTION=HRaye,1,2 FUNCTION=HCross,1,2 FUNCTION=HSupprime,1,2 FUNCTION=HDelete,1,2 FUNCTION=HVersion,1,2 FUNCTION=HLitBloque,1,2 FUNCTION=HReadLock,1,2 FUNCTION=HLitDernierBloque,1,2 FUNCTION=HReadLastLock,1,2 FUNCTION=HLitPrecedentBloque,1,2 FUNCTION=HReadPreviousLock,1,2 FUNCTION=HLitPremierBloque,1,2 FUNCTION=HReadFirstLock,1,2 FUNCTION=HLitRechercheBloque,1,2 FUNCTION=HReadSeekLock,1,2 FUNCTION=HLitSuivantBloque,1,2 FUNCTION=HReadNextLock,1,2 FUNCTION=HBloqueFichier,1,2 FUNCTION=HLockFile,1,2 FUNCTION=HBloqueTotalFichier,1,2 FUNCTION=HLockEntireFile,1,2 FUNCTION=HDebloqueFichier,1,2 FUNCTION=HUnlockFile,1,2 FUNCTION=HDebloqueNumEnr,1,2 FUNCTION=HUnlockRecord,1,2 FUNCTION=HDebloqueTotalFichier,1,2 FUNCTION=HUnlockEntireFile,1,2 FUNCTION=HCreeVue,1,2 FUNCTION=HCreateView,1,2 FUNCTION=HExecuteVue,1,2 FUNCTION=HExecuteView,1,2 FUNCTION=HVueVersFichier,1,2 FUNCTION=HViewToFile,1,2 FUNCTION=HFiltre,1,2 FUNCTION=HFilter,1,2 FUNCTION=HActiveFiltre,1,2 FUNCTION=HActivateFilter,1,2 FUNCTION=HDesactiveFiltre,1,2 FUNCTION=HDeactivateFilter,1,2 FUNCTION=HEcrit,1,2 FUNCTION=HWrite,1,2 FUNCTION=HFinVerrou,1,2 FUNCTION=HEndLock,1,2 FUNCTION=HInterditModif,1,2 FUNCTION=HNoModif,1,2 FUNCTION=HSecurite,1,2 FUNCTION=HSecurity,1,2 FUNCTION=HImporteTexte,1,2 FUNCTION=HImportText,1,2 FUNCTION=HReindexe,1,2 FUNCTION=HIndex,1,2 FUNCTION=HJournalInfo,1,2 FUNCTION=HLogInfo,1,2 FUNCTION=HJournalRecree,1,2 FUNCTION=HLogRecreate,1,2 FUNCTION=HJournalRedemarre,1,2 FUNCTION=HLogRestart,1,2 FUNCTION=HJournalStop,1,2 FUNCTION=HLogStop,1,2 FUNCTION=HChangeCle,1,2 FUNCTION=HChangeKey,1,2 FUNCTION=HSauvePosition,1,2 FUNCTION=HSavePosition,1,2 FUNCTION=HRetourPosition,1,2 FUNCTION=HRestorePosition,1,2 FUNCTION=HVerifieIndex,1,2 FUNCTION=HCheckIndex,1,2 // HModePerso(Vrai) soit les fonctions de lecture FUNCTION=HLit,2,2 FUNCTION=HRead,2,2 FUNCTION=HLitSansBloquer,2,2 FUNCTION=HReadNoLock,2,2 FUNCTION=HLitDernier,2,2 FUNCTION=HReadLast,2,2 FUNCTION=HLitDernierSansBloquer,2,2 FUNCTION=HReadLastNoLock,2,2 FUNCTION=HLitPrecedent,2,2 FUNCTION=HReadPrevious,2,2 FUNCTION=HLitPrecedentSansBloquer,2,2 FUNCTION=HReadPreviousNoLock,2,2 FUNCTION=HLitPremier,2,2 FUNCTION=HReadFirst,2,2 FUNCTION=HLitPremierSansBloquer,2,2 FUNCTION=HReadFirstNoLock,2,2 FUNCTION=HLitRecherche,2,2 FUNCTION=HReadSeek,2,2 FUNCTION=HLitRechercheSansBloquer,2,2 FUNCTION=HReadSeekNoLock,2,2 FUNCTION=HLitSuivant,2,2 FUNCTION=HReadNext,2,2 FUNCTION=HLitSuivantSansBloquer,2,2 FUNCTION=HReadNextNoLock,2,2 FUNCTION=HRecherche,2,2 FUNCTION=HSeek,2,2 FUNCTION=HPremier,2,2 FUNCTION=HFirst,2,2 FUNCTION=HDernier,2,2 FUNCTION=HLast,2,2 FUNCTION=HSuivant,2,2 FUNCTION=HNext,2,2 FUNCTION=HPrecedent,2,2 FUNCTION=HPrevious,2,2 FUNCTION=HAvance,2,2 FUNCTION=HForward,2,2 FUNCTION=HRecule,2,2 FUNCTION=HBackward,2,2 FUNCTION=HReplace,2,2 FUNCTION=HValCle,2,2 FUNCTION=HValKey,2,2 FUNCTION=HOuvreSansBloquer,2,2 FUNCTION=HOpenNoLocking,2,2 // -------------------------- Le code WLangage ---------------------------- // BEGIN_CODE=ID => Type de code (numéro unique) BEGIN_CODE=1 CODE={LineToInclude} CODE=SI HDejaBloque() ALORS CODE= // Ici votre code : traitement du blocage avec interruption CODE= // Exemple : CODE= // Info("Un autre poste effectue cette opération, retentez ultérieurement") CODE= // RepriseSaisie() CODE=FIN END_CODE BEGIN_CODE=2 CODE={LineToInclude} CODE=IF HIsLocked() THEN CODE= // Enter code here: lock process CODE= // Example: CODE= // Info("Operation carried out by another workstation, try later") CODE= // ReturnToCapture() CODE=END END_CODE BEGIN_CODE=3 CODE=BOUCLE CODE= {LineToInclude} CODE= // Si il n'y a pas eu de blocage on sort de la boucle CODE= SI PAS HDejaBloque() ALORS SORTIR CODE= // Ici votre code : traitement du blocage avec répétition CODE= // Exemple : CODE= // Message("Un autre poste effectue cette opération, veuillez patienter") CODE= // MultiTache() // Pour ne pas bloquer les autres applications pendant l'attente CODE=FIN END_CODE BEGIN_CODE=4 CODE=LOOP CODE= {LineToInclude} CODE= // Exit if no lock CODE= IF NOT HIsLocked() THEN EXIT CODE= // Enter code here: loop process CODE= // Example: CODE= // Message("Operation carried out by another workstation, please wait") CODE= // MultiTask() // To avoid locking other applications while waiting CODE=END END_CODE